OSDN Git Service

selftests/bpf: convert bpf tunnel test to encap modes
authorWillem de Bruijn <willemb@google.com>
Fri, 22 Mar 2019 18:33:00 +0000 (14:33 -0400)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 22 Mar 2019 20:52:45 +0000 (13:52 -0700)
commit75a1a9fa2e20de6319a19161ce4e2e1817d70e28
treed19dd631ee3508d25d3d113782f601b45f8e59fc
parent94f16813e1b297d31f8fe6217cd9be19e080f998
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>
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
tools/testing/selftests/bpf/test_tc_tunnel.sh