Skip to content

ice: xsk: ZC changes

Maciej Fijalkowski bpf intel-wired-lan netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- make sure patches apply to net

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ice: xsk: change batched Tx descriptor cleaningdrivers/net/ethernet/intel/ice/ice_txrx.c drivers/net/ethernet/intel/ice/ice_xsk.c drivers/net/ethernet/intel/ice/ice_xsk.h+64 -881 reply
2/2ice: xsk: drop power of 2 ring size restriction for AF_XDPdrivers/net/ethernet/intel/ice/ice_xsk.c+7 -131 reply

Reviews trailers per patch

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

PatchGeorge Kuruvinakunnel
1/2T-b
2/2T-b

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

Read the v3 thread

Cover letter [PATCH v3 intel-net 0/2] ice: xsk: ZC changes

Hi,

this set consists of two fixes to issues that were either pointed out on indirectly (John was reviewing AF_XDP selftests that were testing ice's ZC support) mailing list or were directly reported by customers.

First patch allows user space to see done descriptor in CQ even after a single frame being transmitted and second patch removes the need for having HW rings sized to power of 2 number of descriptors when used against AF_XDP.

I also forgot to mention that due to the current Tx cleaning algorithm, 4k HW ring was broken and these two patches bring it back to life, so we kill two birds with one stone.

v3:
- make sure patches apply to net

v2:
- remove doubled fixes tag from patch 1
- add Alasdair to CC as he reported need for bigger rings used with AF_XDP ZC

Thanks!
Maciej

Maciej Fijalkowski (2):
ice: xsk: change batched Tx descriptor cleaning
ice: xsk: drop power of 2 ring size restriction for AF_XDP

 drivers/net/ethernet/intel/ice/ice_txrx.c |   2 +-
 drivers/net/ethernet/intel/ice/ice_xsk.c  | 163 +++++++++-------------
 drivers/net/ethernet/intel/ice/ice_xsk.h  |   7 +-
 3 files changed, 71 insertions(+), 101 deletions(-)
Signature · 6 lines
2.34.1

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan