igb: Align the flow-control behaviour with ethtool's specs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | igb: don't change the pause config when changing the link ksettingsdrivers/ | +0 | 0 replies | |
| 2/3 | igb: take the user intent into account when pause autoneg is ondrivers/ | +9 | 0 replies | |
| 3/3 | igb: advertise symmetric pause only for full flow controldrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iwl-next 0/3] igb: Align the flow-control behaviour with ethtool's specs
Hi,
This series makes a few changes in IGB's ethtool flow-control configuration to align it with the ethtool expectations.
This was found while upgrading the board farm that runs the stmmac netdev CI tests. I've upgraded the HW and I'm now using a bunch of I350-T4 PCIe cards (running igb) as peers for my tests. Since then, the flow-control tests have started failing:
This shows 2 things. First, the Pause test is weak to the test peer not behaving as expected, but we can't do much but assume that kselftest peers can be trusted.
Second, the igb driver doesn't behave as we expect w.r.t pause:
- It overrides the pause configuration when we toggle link autoneg
- It doesn't take the FC user intent (rx on/off tx on/off) into account when pause aneg in on,
- It advertises Pause + Asym when we have "rx on tx on", where it should be just Pause (it's not an asym config).
This series addresses that in igb. I think e100e and igc have the same class of issues, but I don't have any HW to test that on.
Also, this behaviour has been in igb for quite a while (2008 it seems ?) and this is a user-visible change so it may just be too late for these patches to land, I'll let the Intel folks decide on that, anyways I'll have these 3 patches running locally in the stmmac farm.
Thanks,
Maxime
Maxime Chevallier (3):
igb: don't change the pause config when changing the link ksettings
igb: take the user intent into account when pause autoneg is on
igb: advertise symmetric pause only for full flow control
drivers/net/ethernet/intel/igb/e1000_phy.c | 3 ++- drivers/net/ethernet/intel/igb/igb_ethtool.c | 21 +++++++++----------- 2 files changed, 11 insertions(+), 13 deletions(-)
Signature · 1 line
2.56.1