Skip to content

io_uring/zcrx: fix selftests and add new test for rss ctx

David Wei netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3io_uring/zcrx: selftests: switch to using defer() for cleanuptools/testing/selftests/drivers/net/hw/iou-zcrx.py+29 -322 repliesApplied
2/3io_uring/zcrx: selftests: set hds_thresh to 0tools/testing/selftests/drivers/net/hw/iou-zcrx.py+10 -65 repliesApplied
3/3io_uring/zcrx: selftests: add test case for rss ctxtools/testing/selftests/drivers/net/hw/iou-zcrx.py+41 -04 repliesApplied

Reviews trailers per patch

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

PatchSimon HormanJoe Damato
1/3R-b R-b
2/3R-b R-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 v1 thread

Cover letter [PATCH net-next v1 0/3] io_uring/zcrx: fix selftests and add new test for rss ctx

Update io_uring zero copy receive selftest. Patch 1 does a requested cleanup to use defer() for undoing ethtool actions during the test and restoring the NIC under test back to its original state.

Patch 2 adds a required call to set hds_thresh to 0. This is needed for the queue API.

Patch 3 adds a new test case for steering into RSS contexts. A real application using io_uring zero copy receive relies on this working to shard work across multiple queues. There seems to be some differences/bugs with steering into RSS contexts and individual queues.

David Wei (3):
io_uring/zcrx: selftests: switch to using defer() for cleanup io_uring/zcrx: selftests: set hds_thresh to 0 io_uring/zcrx: selftests: add test case for rss ctx

 .../selftests/drivers/net/hw/iou-zcrx.py      | 122 ++++++++++++------
 1 file changed, 82 insertions(+), 40 deletions(-)
Signature · 1 line
2.47.1