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

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

Add a new test in test_progs to test ip6gre tunnels. It uses the same
network topology and the same BPF programs than the script. Disable the
IPv6 DAD feature because it can take lot of time and cause some tests to
fail depending on the environment they're run on.
Remove test_ip6gre() and test_ip6gretap() 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-4-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