]> www.infradead.org Git - users/hch/misc.git/commit
selftests/bpf: test_tunnel: Move ip6erspan tunnel test to test_progs
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Mon, 3 Mar 2025 08:22:54 +0000 (09:22 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 15 Mar 2025 18:48:27 +0000 (11:48 -0700)
commitea60b6a524f1aa547c91d974a38c9177489d2041
tree3507589e1a56b69dff461c1d50dc2dfcffa56c56
parentcadb08a4d3ada96534046cfb4ef3b52eebf36268
selftests/bpf: test_tunnel: Move ip6erspan tunnel test to test_progs

ip6erspan tunnels are tested in the test_tunnel.sh but not in the
test_progs framework.

Add a new test in test_progs to test ip6erspan tunnels. It uses the same
network topology and the same BPF programs than the script.
Remove test_ip6erspan() from the script.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250303-tunnels-v2-6-8329f38f0678@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/test_tunnel.c
tools/testing/selftests/bpf/test_tunnel.sh