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)
commit58cfa49c2ba7f815adccc27a775e7cf8a8f7f539
tree4b601bf8b5a54608ce594a51034a63029b3513fd
parent0e6f601eb5c1914d4222458ee2ec43cc8c9864d8
selftest/bpf: Add missed ip6ip6 test back

In comment 173ca26e9b51 ("samples/bpf: add comprehensive ipip, ipip6,
ip6ip6 test") we added ip6ip6 test for bpf tunnel testing. But in commit
933a741e3b82 ("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: 933a741e3b82 ("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