]> git.hungrycats.org Git - linux/commit
selftests: drv-net: Enable ntuple-filters if supported
authorDimitri Daskalakis <daskald@meta.com>
Thu, 30 Apr 2026 16:52:17 +0000 (09:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 2 May 2026 00:10:06 +0000 (17:10 -0700)
commitc301658dfe08880a6a864fe192ca5967994c2e54
treec3b06568d93d1442c005380a072656b42cb4bdbc
parent8d59a7a188c0a7f6d52e4a829f3ce75534255d76
selftests: drv-net: Enable ntuple-filters if supported

Certain devices which support ntuple-filters do not enable the feature
by default. The existing tests will skip (if they check for the feature),
or fail if they blindly attempt to install rules. Therefore, attempt to turn
on ntuple-filters if the device supports them.

Signed-off-by: Dimitri Daskalakis <daskald@meta.com>
Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20260430165217.3700469-1-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/gro.py
tools/testing/selftests/drivers/net/hw/gro_hw.py
tools/testing/selftests/drivers/net/hw/iou-zcrx.py
tools/testing/selftests/drivers/net/hw/ntuple.py
tools/testing/selftests/drivers/net/hw/rss_ctx.py