Skip to content

Intel Wired LAN Driver Updates

Aaron Brown netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ixbge: Protect ixgbe_down with __IXGBE_DOWN bitdrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+3 -10 replies
2/7ixgbe: Indicate removal state explicitlydrivers/net/ethernet/intel/ixgbe/ixgbe.h drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+9 -44 replies
3/7ixgbe: Use static inlines instead of macrosdrivers/net/ethernet/intel/ixgbe/ixgbe.h drivers/net/ethernet/intel/ixgbe/ixgbe_common.h drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+28 -117 replies
4/7ixgbe: Make ethtool register test use accessorsdrivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c+42 -460 replies
5/7ixgbe: Check register reads for adapter removaldrivers/net/ethernet/intel/ixgbe/ixgbe.h drivers/net/ethernet/intel/ixgbe/ixgbe_common.h drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+49 -51 reply
6/7ixgbe: Check for adapter removal on register writesdrivers/net/ethernet/intel/ixgbe/ixgbe_common.h drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c+12 -50 replies
7/7ixgbe: Additional adapter removal checksdrivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+38 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchPhil Schmitt
1/7T-b
2/7T-b
3/7T-b
4/7T-b
5/7T-b
6/7T-b
7/7T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [net-next 0/7] Intel Wired LAN Driver Updates

This series contains add Live Error Recovery (LER) support to the ixgbe driver. This support also improves behavior in Thunderbolt environments. This involves checking all register reads for a value of all ones and when that is seen, to read the status register, which should never properly return all ones, to confirm whether the received value was correct. When this detects a removal, the hw_addr field is cleared to indicate the removal. This then blocks subsequent access to the device registers.

All register access macros have been changed to static inline functions and all register accesses now use them.

The __IXGBE_DOWN bit is no longer overloaded to also mean that device removal has been initiated. Now the bit can be used to protect ixgbe_down from multiple entry via test_and_set_bit. A needed smp_mb__before_clear_bit was also added.

Mark Rustad (7):
1/7 ixbge: Protect ixgbe_down with __IXGBE_DOWN bit 2/7 ixgbe: Indicate removal state explicitly 3/7 ixgbe: Use static inlines instead of macros 4/7 ixgbe: Make ethtool register test use accessors 5/7 ixgbe: Check register reads for adapter removal 6/7 ixgbe: Check for adapter removal on register writes 7/7 ixgbe: Additional adapter removal checks

 drivers/net/ethernet/intel/ixgbe/ixgbe.h         |   7 ++
 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h  |  55 +++++++++---
 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 110 +++++++++++++----------
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c    |  74 ++++++++++++---
 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c     |   3 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c     |   2 +-
 6 files changed, 180 insertions(+), 71 deletions(-)
Signature · 1 line
1.8.5.GIT