]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e1783a47a209519ebc95146d7d7b49a48e59d84
treed19dd631ee3508d25d3d113782f601b45f8e59fc
parent7c9f38acea86a0850c0df9e9fe4a389863deefce
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