commit | 0fde56e4385b09a67dd25321f607d4c942282de2 | [log] [tgz] |
---|---|---|
author | Peter Oskolkov <posk@google.com> | Wed Feb 13 11:53:41 2019 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Feb 13 18:27:55 2019 -0800 |
tree | b00d597241213e1ddaab1185700262bb7c6abcef | |
parent | 755db4771c96cf49e60e188a2c90c4d2a1ea063d [diff] |
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>