summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/drivers/net/hw/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-11-19 18:10:17 -0800
committerJakub Kicinski <kuba@kernel.org>2025-11-20 18:19:29 -0800
commit89268f7dbca1842cd38d3a4578ba7e3b6789c5ad (patch)
treea7bcd951435c8aab070fa37e78a0785b52bd1558 /tools/testing/selftests/drivers/net/hw/Makefile
parent173227d7d6c4902a017ba9bbf3fb0d99f021f478 (diff)
downloadlwn-89268f7dbca1842cd38d3a4578ba7e3b6789c5ad.tar.gz
lwn-89268f7dbca1842cd38d3a4578ba7e3b6789c5ad.zip
selftests: net: relocate gro and toeplitz tests to drivers/net
The GRO test can run on a real device or a veth. The Toeplitz hash test can only run on a real device. Move them from net/ to drivers/net/ and drivers/net/hw/ respectively. There are two scripts which set up the environment for these tests setup_loopback.sh and setup_veth.sh. Move those scripts to net/lib. The paths to the setup files are a little ugly but they will be deleted shortly. toeplitz_client.sh is not a test in itself, but rather a helper to send traffic, so add it to TEST_FILES rather than TEST_PROGS. Reviewed-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20251120021024.2944527-6-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/Makefile')
-rw-r--r--tools/testing/selftests/drivers/net/hw/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/net/hw/Makefile b/tools/testing/selftests/drivers/net/hw/Makefile
index 8133d1a0051c..c9dced8c934a 100644
--- a/tools/testing/selftests/drivers/net/hw/Makefile
+++ b/tools/testing/selftests/drivers/net/hw/Makefile
@@ -1,6 +1,9 @@
# SPDX-License-Identifier: GPL-2.0+ OR MIT
-TEST_GEN_FILES = iou-zcrx
+TEST_GEN_FILES := \
+ iou-zcrx \
+ toeplitz \
+# end of TEST_GEN_FILES
TEST_PROGS = \
csum.py \
@@ -21,12 +24,14 @@ TEST_PROGS = \
rss_ctx.py \
rss_flow_label.py \
rss_input_xfrm.py \
+ toeplitz.sh \
tso.py \
xsk_reconfig.py \
#
TEST_FILES := \
ethtool_lib.sh \
+ toeplitz_client.sh \
#
TEST_INCLUDES := \