summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/veth.sh
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-04-23 21:35:41 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-25 06:15:45 +0300
commit6b88ce902f0bdcb3694a6ceddc8b3d0b40db3772 (patch)
treefe004b46fad8cbb08507761b6985ee10e3a8d003 /tools/testing/selftests/net/veth.sh
parent2fa809b90617817fec2802c7cfaeb2c66fd04c2b (diff)
downloadlinux-6b88ce902f0bdcb3694a6ceddc8b3d0b40db3772.tar.xz
selftests: net: name bpf objects consistently and simplify Makefile
The BPF sources moved with bpf_offload.py have a suffix of .bpf.c which seems to be useful convention. Rename the 2 other BPF sources we had. Use wildcard in the Makefile, since we can match all those files easily now. Link: https://lore.kernel.org/r/20240423183542.3807234-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/veth.sh')
-rwxr-xr-xtools/testing/selftests/net/veth.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/veth.sh b/tools/testing/selftests/net/veth.sh
index 3a394b43e274..4f1edbafb946 100755
--- a/tools/testing/selftests/net/veth.sh
+++ b/tools/testing/selftests/net/veth.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
-BPF_FILE="xdp_dummy.o"
+BPF_FILE="xdp_dummy.bpf.o"
readonly STATS="$(mktemp -p /tmp ns-XXXXXX)"
readonly BASE=`basename $STATS`
readonly SRC=2