netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/3] io_uring/zcrx: fix selftests and add new test for rss ctx
@ 2025-04-25  2:20 David Wei
  2025-04-25  2:20 ` [PATCH net-next v1 1/3] io_uring/zcrx: selftests: switch to using defer() for cleanup David Wei
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: David Wei @ 2025-04-25  2:20 UTC (permalink / raw)
  To: netdev
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni

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(-)

-- 
2.47.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-04-26 18:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25  2:20 [PATCH net-next v1 0/3] io_uring/zcrx: fix selftests and add new test for rss ctx David Wei
2025-04-25  2:20 ` [PATCH net-next v1 1/3] io_uring/zcrx: selftests: switch to using defer() for cleanup David Wei
2025-04-25 17:17   ` Simon Horman
2025-04-25 22:46   ` Joe Damato
2025-04-25  2:20 ` [PATCH net-next v1 2/3] io_uring/zcrx: selftests: set hds_thresh to 0 David Wei
2025-04-25 17:18   ` Simon Horman
2025-04-25 22:50   ` Joe Damato
2025-04-25 23:37     ` David Wei
2025-04-26  1:42       ` Jakub Kicinski
2025-04-26 18:00         ` David Wei
2025-04-25  2:20 ` [PATCH net-next v1 3/3] io_uring/zcrx: selftests: add test case for rss ctx David Wei
2025-04-25 17:18   ` Simon Horman
2025-04-25 22:55   ` Joe Damato
2025-04-25 23:38     ` David Wei
2025-04-26  1:43       ` Jakub Kicinski
2025-04-26  1:50 ` [PATCH net-next v1 0/3] io_uring/zcrx: fix selftests and add new test " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).