Skip to content

ixgbe: fix FCoE/XDP issues and PCI reset handling

Sergey Temerkhanov intel-wired-lan 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v24 patches 4 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ixgbe: Refactor device operations to check whether netdev is availabledrivers/net/ethernet/intel/ixgbe/ixgbe.h drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c +2 more+40 -180 replies
2/5ixgbe: Defer FCoE queue rebuild while netdev is unavailabledrivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+61 -90 replies
3/5ixgbe: Fix FCoE refcount taking for unsupported adaptersdrivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c+12 -30 replies
4/5ixgbe: Restore previous XDP program on ixgbe_setup_tc() failuredrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+38 -20 replies
5/5ixgbe: Implement PCI reset handlerdrivers/net/ethernet/intel/ixgbe/ixgbe.h drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+112 -01 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAleksandr LoktionovPrzemyslaw KorbaSimon HormanSingh, Ayush1X
1/5R-b
2/5R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH iwl-net, iwl-next v3 0/5] ixgbe: fix FCoE/XDP issues and PCI reset handling

This series fixes several ixgbe error and reset codepaths.

The first three patches are prerequisite fixes that make sure that the driver does not access hardware during the reset time when it is unavailable. These add the required availability checks etc.

The final patch adds missing handlers for PCI function reset through sysfs in the manner that is safe for ixgbe. It implements the PCI reset prepare and completion callbacks to quiesce and reinitialize the adapter. This prevents TX queue timeouts and other related problems caused by inconsistent hardware state after a sysfs-triggered PCI reset.

Previous version:
https://lore.kernel.org/intel-wired-lan/[email protected]/
v1->v2: Almost complete rework of the series to ensure safe
reset procedure
v2->v3: Split the netdev availability check refactoring into
main and FCoE patches, tag -net and -next patches separately

Sergey Temerkhanov (5):
ixgbe: Refactor device operations to check whether netdev is available
ixgbe: Defer FCoE queue rebuild while netdev is unavailable
ixgbe: Fix FCoE refcount taking for unsupported adapters
ixgbe: Restore previous XDP program on ixgbe_setup_tc() failure
ixgbe: Implement PCI reset handler

 drivers/net/ethernet/intel/ixgbe/ixgbe.h      |   6 +
 .../net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c   |  13 +-
 .../net/ethernet/intel/ixgbe/ixgbe_ethtool.c  |  34 +--
 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c |  42 +++-
 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h |   1 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 193 +++++++++++++++++-
 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c  |   4 +-
 7 files changed, 262 insertions(+), 31 deletions(-)
Signature · 1 line
2.53.0