aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_tc_tunnel.sh
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2019-03-22 14:33:00 -0400
committerAlexei Starovoitov <ast@kernel.org>2019-03-22 13:52:45 -0700
commit75a1a9fa2e20de6319a19161ce4e2e1817d70e28 (patch)
treed19dd631ee3508d25d3d113782f601b45f8e59fc /tools/testing/selftests/bpf/test_tc_tunnel.sh
parentselftests/bpf: convert bpf tunnel test to BPF_F_ADJ_ROOM_FIXED_GSO (diff)
downloadlinux-dev-75a1a9fa2e20de6319a19161ce4e2e1817d70e28.tar.xz
linux-dev-75a1a9fa2e20de6319a19161ce4e2e1817d70e28.zip
selftests/bpf: convert bpf tunnel test to encap modes
Make the tests correctly annotate skbs with tunnel metadata. This makes the gso tests succeed. Enable them. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_tc_tunnel.sh')
-rwxr-xr-xtools/testing/selftests/bpf/test_tc_tunnel.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/testing/selftests/bpf/test_tc_tunnel.sh b/tools/testing/selftests/bpf/test_tc_tunnel.sh
index cda5317790d2..dcf320626931 100755
--- a/tools/testing/selftests/bpf/test_tc_tunnel.sh
+++ b/tools/testing/selftests/bpf/test_tc_tunnel.sh
@@ -97,13 +97,11 @@ if [[ "$#" -eq "0" ]]; then
echo "ip6 gre"
$0 ipv6 ip6gre 100
- # disabled until passes SKB_GSO_DODGY checks
- # echo "ip gre gso"
- # $0 ipv4 gre 2000
+ echo "ip gre gso"
+ $0 ipv4 gre 2000
- # disabled until passes SKB_GSO_DODGY checks
- # echo "ip6 gre gso"
- # $0 ipv6 ip6gre 2000
+ echo "ip6 gre gso"
+ $0 ipv6 ip6gre 2000
echo "OK. All tests passed"
exit 0