summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/drivers/net/hw/settings
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-03-26 19:54:32 +0300
committerJakub Kicinski <kuba@kernel.org>2024-03-29 04:03:42 +0300
commit40d269c000bda9fcd276a0412a9cebd3f6e344c5 (patch)
tree86c154843ecc05a82db4a082585d9391c9921da4 /tools/testing/selftests/drivers/net/hw/settings
parent0faa565bc4a708f4a81abfb6a4426c56609cfd2b (diff)
downloadlinux-40d269c000bda9fcd276a0412a9cebd3f6e344c5.tar.xz
selftests: forwarding: Move several selftests
The tests in net/forwarding are generally expected to be HW-independent. There are however several tests that, while not depending on any HW in particular, nevertheless depend on being used on HW interfaces. Placing these selftests to net/forwarding is confusing, because the selftest will just report it can't be run on veth pairs. At the same time, placing them to a particular driver's selftests subdirectory would be wrong. Instead, add a new directory, drivers/net/hw, where these generic but HW independent selftests should be placed. Move over several such tests including one helper library. Since typically these tests will not be expected to run, omit the directory drivers/net/hw from the TARGETS list in selftests/Makefile. Retain a Makefile in the new directory itself, so that a user can make -C into that directory and act on those tests explicitly. Cc: Roger Quadros <rogerq@kernel.org> Cc: Tobias Waldekranz <tobias@waldekranz.com> Cc: Danielle Ratson <danieller@nvidia.com> Cc: Davide Caratti <dcaratti@redhat.com> Cc: Johannes Nixdorf <jnixdorf-oss@avm.de> Suggested-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Petr Machata <petrm@nvidia.com> Link: https://lore.kernel.org/r/e11dae1f62703059e9fc2240004288ac7cc15756.1711464583.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/settings')
-rw-r--r--tools/testing/selftests/drivers/net/hw/settings1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/drivers/net/hw/settings b/tools/testing/selftests/drivers/net/hw/settings
new file mode 100644
index 000000000000..e7b9417537fb
--- /dev/null
+++ b/tools/testing/selftests/drivers/net/hw/settings
@@ -0,0 +1 @@
+timeout=0