selftests_bpf: add L2 encap to test_tc_tunnel
authorAlan Maguire <alan.maguire@oracle.com>
Tue, 9 Apr 2019 14:06:43 +0000 (15:06 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 11 Apr 2019 20:50:57 +0000 (22:50 +0200)
commit3ec61df82ba0c2d2455da838ee46bf60f2256b56
tree9ed59534ae8480181d233968dad4e710b98310bc
parent1db04c300a41e17892bf83ed0d1aa681416ee150
selftests_bpf: add L2 encap to test_tc_tunnel

Update test_tc_tunnel to verify adding inner L2 header
encapsulation (an MPLS label or ethernet header) works.

Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/config
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
tools/testing/selftests/bpf/test_tc_tunnel.sh