io_uring/zcrx: fix selftests and add new test for rss ctx
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
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | io_uring/zcrx: selftests: switch to using defer() for cleanuptools/ | +29 | 2 replies | Applied |
| 2/3 | io_uring/zcrx: selftests: set hds_thresh to 0tools/ | +10 | 5 replies | Applied |
| 3/3 | io_uring/zcrx: selftests: add test case for rss ctxtools/ | +41 | 4 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Simon Horman | Joe Damato |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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