TX vs RX pause frame question
Subsystems (2)
Hi !
It's not 100% clear to me looking at various drivers what is considered "rx_pause" and what is "tx_pause" (from the ethtool terminology).
Is "rx_pause" about receiving pause frame to throttle the transmitter or is it about sending pause frames when the receiver gets full ?
Thanks,
Ben.
Quoted 6 lines · Benjamin Herrenschmidt
Hi !
It's not 100% clear to me looking at various drivers what is considered "
rx_pause" and what is "tx_pause" (from the ethtool terminology).
Quoted 6 lines
Is "
rx_pause" about receiving pause frame to throttle the transmitter or is it about sending pause frames when the receiver gets full ?Thanks,
Ben.
The common implementation, at least on the Intel devices, is rx_pause should be enabled so the device will respond to receiving a pause frame, e.g. stop sending packets. And tx_pause is for enabling/disabling sending of pause frames.
Thanks,
John
Quoted 10 lines · John Fastabend
Quoted 9 lines · Benjamin Herrenschmidt
Hi !
It's not 100% clear to me looking at various drivers what is considered "
rx_pause" and what is "tx_pause" (from the ethtool terminology).Is "
rx_pause" about receiving pause frame to throttle the transmitter or is it about sending pause frames when the receiver gets full ?
Quoted 8 lines
Quoted 3 lines
Thanks,
Ben.The common implementation, at least on the Intel devices, is
rx_pauseshould be enabled so the device will respond to receiving a pause frame, e.g. stop sending packets. Andtx_pauseis for enabling/disabling sending of pause frames.
Thanks, I'll have my driver match that.
Cheers,
Ben.