diff options
author | Peter Oskolkov | 2019-02-13 20:53:41 +0100 |
---|---|---|
committer | Alexei Starovoitov | 2019-02-14 03:27:55 +0100 |
commit | 0fde56e4385b09a67dd25321f607d4c942282de2 (patch) | |
tree | b00d597241213e1ddaab1185700262bb7c6abcef /tools/testing/selftests/bpf/Makefile | |
parent | bpf: sync <kdir>/include/.../bpf.h with tools/include/.../bpf.h (diff) | |
download | kernel-qcow2-linux-0fde56e4385b09a67dd25321f607d4c942282de2.tar.gz kernel-qcow2-linux-0fde56e4385b09a67dd25321f607d4c942282de2.tar.xz kernel-qcow2-linux-0fde56e4385b09a67dd25321f607d4c942282de2.zip |
selftests: bpf: add test_lwt_ip_encap selftest
This patch adds a bpf self-test to cover BPF_LWT_ENCAP_IP mode
in bpf_lwt_push_encap.
Covered:
- encapping in LWT_IN and LWT_XMIT
- IPv4 and IPv6
A follow-up patch will add GSO and VRF-enabled tests.
Signed-off-by: Peter Oskolkov <posk@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/Makefile')
-rw-r--r-- | tools/testing/selftests/bpf/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index c3edf47da05d..ccffaa0a0787 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -50,7 +50,8 @@ TEST_PROGS := test_kmod.sh \ test_lirc_mode2.sh \ test_skb_cgroup_id.sh \ test_flow_dissector.sh \ - test_xdp_vlan.sh + test_xdp_vlan.sh \ + test_lwt_ip_encap.sh TEST_PROGS_EXTENDED := with_addr.sh \ with_tunnels.sh \ |