]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: drv-net: rss_ctx: Add test for ntuple rule
authorDaniel Xu <dxu@dxuuu.xyz>
Wed, 27 Nov 2024 22:58:30 +0000 (15:58 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Nov 2024 22:16:12 +0000 (14:16 -0800)
commit7078d43b2374daedf254662053e924c938eb86b3
treeccbb5334f9723d91945fc3e47e87067ca4a1096c
parentbe75cda92a65a13db242117d674cd5584477a168
selftests: drv-net: rss_ctx: Add test for ntuple rule

Extend the rss_ctx test suite to test that an ntuple action that
redirects to an RSS context contains that information in `ethtool -n`.
Otherwise the output from ethtool is highly deceiving. This test helps
ensure drivers are compliant with the API.

Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://patch.msgid.link/759870e430b7c93ecaae6e448f30a47284c59637.1732748253.git.dxu@dxuuu.xyz
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/rss_ctx.py