]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/zcrx: selftests: add test case for rss ctx
authorDavid Wei <dw@davidwei.uk>
Fri, 25 Apr 2025 02:20:49 +0000 (19:20 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 26 Apr 2025 01:44:10 +0000 (18:44 -0700)
commit5c3524b031be98de5263d313eafef0ec9303f8b5
tree5299a00539fd047eb28369e920e2bccf0f9dec48
parent4ce3ade36f251e47fc6b0345afb73a09794fb2e9
io_uring/zcrx: selftests: add test case for rss ctx

RSS contexts are used to shard work across multiple queues for an
application using io_uring zero copy receive. Add a test case checking
that steering flows into an RSS context works.

Until I add multi-thread support to the selftest binary, this test case
only has 1 queue in the RSS context.

Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250425022049.3474590-4-dw@davidwei.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/iou-zcrx.py