Skip to contentSkip to conversation

TX vs RX pause frame question

DISCUSSION Benjamin Herrenschmidt 2 participants 3 messages Mar 26, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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

#2 lore raw
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_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, I'll have my driver match that.

Cheers,
Ben.