Skip to content

idpf: queue based scheduling fixes

Joshua Hay intel-wired-lan netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3idpf: do not enable XDP if queue based scheduling is not supporteddrivers/net/ethernet/intel/idpf/xdp.c+10 -01 reply
2/3idpf: fix next_to_clean data racesdrivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c drivers/net/ethernet/intel/idpf/idpf_txrx.c drivers/net/ethernet/intel/idpf/idpf_txrx.h+14 -70 replies
3/3idpf: fix skb datapath queue based scheduling crashes and timeoutsdrivers/net/ethernet/intel/idpf/idpf_txrx.c drivers/net/ethernet/intel/idpf/idpf_txrx.h+38 -190 replies

Reviews trailers per patch

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

PatchAleksandr LoktionovMadhu Chittim
1/3R-b R-b
2/3R-b
3/3R-b R-b

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

Read the v2 thread

Cover letter [Intel-wired-lan][PATCH net v2 0/3] idpf: queue based scheduling fixes

This series fixes some TxQ scheduling mode issues exposed by recent FW changes, as well as some issues reported by Sashiko.

Patch 1 prevents XDP from being enabled if queue based scheduling is not supported by the firmware.

Patch 2 fixes a data race when accessing next_to_clean in IDPF_DESC_UNUSED.

Patch 3 fixes a NULL ptr dereference in the Tx path when queue based scheduling is enabled, and also adds support to process both 4 and 8 byte completion descriptors to avoid timeouts in queue based scheduling mode.

Joshua Hay (3):
idpf: do not enable XDP if queue based scheduling is not supported
idpf: fix next_to_clean data races
idpf: fix skb datapath queue based scheduling crashes and timeouts

 .../ethernet/intel/idpf/idpf_singleq_txrx.c   |  3 +-
 drivers/net/ethernet/intel/idpf/idpf_txrx.c   | 60 ++++++++++++-------
 drivers/net/ethernet/intel/idpf/idpf_txrx.h   | 15 +++--
 drivers/net/ethernet/intel/idpf/xdp.c         | 10 ++++
 4 files changed, 62 insertions(+), 26 deletions(-)
Signature · 1 line
2.39.2