diff options
author | David Ahern | 2017-04-27 18:11:13 +0200 |
---|---|---|
committer | David S. Miller | 2017-04-27 18:49:26 +0200 |
commit | 3993f2cb983b2100409851f7b2abb21d685ea19c (patch) | |
tree | 8830b0c2f03b2ec010a4746392ad345516982763 /samples/bpf/parse_simple.c | |
parent | rhashtable: Cap total number of entries to 2^31 (diff) | |
download | kernel-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/parse_simple.c')
0 files changed, 0 insertions, 0 deletions