[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250425022049.3474590-1-dw@davidwei.uk>
Date: Thu, 24 Apr 2025 19:20:46 -0700
From: David Wei <dw@...idwei.uk>
To: netdev@...r.kernel.org
Cc: Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Subject: [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(-)
--
2.47.1
Powered by blists - more mailing lists