summaryrefslogtreecommitdiffstats
path: root/samples/bpf/test_lwt_bpf.sh
diff options
context:
space:
mode:
authorDavid Ahern2017-04-27 18:11:13 +0200
committerDavid S. Miller2017-04-27 18:49:26 +0200
commit3993f2cb983b2100409851f7b2abb21d685ea19c (patch)
tree8830b0c2f03b2ec010a4746392ad345516982763 /samples/bpf/test_lwt_bpf.sh
parentrhashtable: Cap total number of entries to 2^31 (diff)
downloadkernel-qcow2-linux-3993f2cb983b2100409851f7b2abb21d685ea19c.tar.gz
kernel-qcow2-linux-3993f2cb983b2100409851f7b2abb21d685ea19c.tar.xz
kernel-qcow2-linux-3993f2cb983b2100409851f7b2abb21d685ea19c.zip
samples/bpf: Add support for SKB_MODE to xdp1 and xdp_tx_iptunnel
Add option to xdp1 and xdp_tx_iptunnel to insert xdp program in SKB_MODE: - update set_link_xdp_fd to take a flags argument that is added to the RTM_SETLINK message - Add -S option to xdp1 and xdp_tx_iptunnel user code. When passed in XDP_FLAGS_SKB_MODE is set in the flags arg passed to set_link_xdp_fd Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/test_lwt_bpf.sh')
0 files changed, 0 insertions, 0 deletions