aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/config
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2019-04-09 15:06:43 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-04-11 22:50:57 +0200
commit3ec61df82ba0c2d2455da838ee46bf60f2256b56 (patch)
tree9ed59534ae8480181d233968dad4e710b98310bc /tools/testing/selftests/bpf/config
parentbpf: sync bpf.h to tools/ for BPF_F_ADJ_ROOM_ENCAP_L2 (diff)
downloadwireguard-linux-3ec61df82ba0c2d2455da838ee46bf60f2256b56.tar.xz
wireguard-linux-3ec61df82ba0c2d2455da838ee46bf60f2256b56.zip
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>
Diffstat (limited to 'tools/testing/selftests/bpf/config')
-rw-r--r--tools/testing/selftests/bpf/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index 8e749c1f5bf6..8c976476f6fd 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -29,3 +29,7 @@ CONFIG_NET_FOU=m
CONFIG_NET_FOU_IP_TUNNELS=y
CONFIG_IPV6_FOU=m
CONFIG_IPV6_FOU_TUNNEL=m
+CONFIG_MPLS=y
+CONFIG_NET_MPLS_GSO=m
+CONFIG_MPLS_ROUTING=m
+CONFIG_MPLS_IPTUNNEL=m