Skip to content

intel: fix routines that disable queue pairs

Maciej Fijalkowski intel-wired-lan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ixgbe: {dis,en}able irqs in ixgbe_txrx_ring_{dis,en}abledrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+49 -71 reply
2/3i40e: disable NAPI right after disabling irqs when handling xsk_pooldrivers/net/ethernet/intel/i40e/i40e_main.c+1 -11 reply
3/3ice: reorder disabling IRQ and NAPI in ice_qp_disdrivers/net/ethernet/intel/ice/ice_xsk.c+5 -41 reply

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMagnus KarlssonChandan Kumar Rout
SeriesA-b
1/3T-b
2/3T-b
3/3T-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 [PATCH iwl-net 0/3] intel: fix routines that disable queue pairs

Hi,

It started out as an issue on ixgbe reported by Pavel [0] which first patch is supposed to fix, but apparently i40e and ice have queue pair disabling flow a bit out of order, so I addressed them as well. More info is included in commit messages.

FWIW we are talking here about AF_XDP ZC when xsk_pool is sent down to driver. Typically these routines are executed when there is already XDP program running on interface.

Thanks!

[0]: https://lore.kernel.org/netdev/CAJEV1ijxNyPTwASJER1bcZzS9nMoZJqfR86nu_3jFFVXzZQ4NA@mail.gmail.com/

Maciej Fijalkowski (3):
ixgbe: {dis,en}able irqs in ixgbe_txrx_ring_{dis,en}able
i40e: disable NAPI right after disabling irqs when handling xsk_pool
ice: reorder disabling IRQ and NAPI in ice_qp_dis

 drivers/net/ethernet/intel/i40e/i40e_main.c   |  2 +-
 drivers/net/ethernet/intel/ice/ice_xsk.c      |  9 +--
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 56 ++++++++++++++++---
 3 files changed, 55 insertions(+), 12 deletions(-)
Signature · 1 line
2.34.1