summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/udpgro_fwd.sh
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-01-24 22:33:20 +0100
committerJakub Kicinski <kuba@kernel.org>2024-01-25 15:59:22 -0800
commit98cb12eb52a780e682bea8372fdb2912c08132dd (patch)
treeb02b00f3fe5c800af62c6560bd47f96d4aec1a41 /tools/testing/selftests/net/udpgro_fwd.sh
parentb64787840080bdbd048bb9c68222ad17236cbd7e (diff)
selftests: net: remove dependency on ebpf tests
Several net tests requires an XDP program build under the ebpf directory, and error out if such program is not available. That makes running successful net test hard, let's duplicate into the net dir the [very small] program, re-using the existing rules to build it, and finally dropping the bogus dependency. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/28e7af7c031557f691dc8045ee41dd549dd5e74c.1706131762.git.pabeni@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/udpgro_fwd.sh')
-rwxr-xr-xtools/testing/selftests/net/udpgro_fwd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/udpgro_fwd.sh b/tools/testing/selftests/net/udpgro_fwd.sh
index c079565add39..5fa8659ab13d 100755
--- a/tools/testing/selftests/net/udpgro_fwd.sh
+++ b/tools/testing/selftests/net/udpgro_fwd.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
-BPF_FILE="../bpf/xdp_dummy.bpf.o"
+BPF_FILE="xdp_dummy.o"
readonly BASE="ns-$(mktemp -u XXXXXX)"
readonly SRC=2
readonly DST=1