]> git.baikalelectronics.ru Git - kernel.git/commit
selftest/bpf: Add missed ip6ip6 test back
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 10 Nov 2020 01:50:12 +0000 (09:50 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 10 Nov 2020 23:37:45 +0000 (15:37 -0800)
commit16cbfe6ab8411a3514f63ee86a666391ed84744c
tree4b601bf8b5a54608ce594a51034a63029b3513fd
parentbaf758ca2bb3cbb078d5f62c8aba50a62511ea57
selftest/bpf: Add missed ip6ip6 test back

In comment 6ecb897a2f40 ("samples/bpf: add comprehensive ipip, ipip6,
ip6ip6 test") we added ip6ip6 test for bpf tunnel testing. But in commit
7f0d97936029 ("selftests/bpf: bpf tunnel test.") when we moved it to
the current folder, we didn't add it.

This patch add the ip6ip6 test back to bpf tunnel test. Update the ipip6's
topology for both IPv4 and IPv6 testing. Since iperf test is removed as
currect framework simplified it in purpose, I also removed unused tcp
checkings in test_tunnel_kern.c.

Fixes: 7f0d97936029 ("selftests/bpf: bpf tunnel test.")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201110015013.1570716-2-liuhangbin@gmail.com
tools/testing/selftests/bpf/progs/test_tunnel_kern.c
tools/testing/selftests/bpf/test_tunnel.sh