summaryrefslogtreecommitdiff
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-09-25 03:25:55 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-26 23:36:44 +0300
commit366a88fe2f40d6772985ec78cdd34df7f109bb88 (patch)
tree3fa94accf68450c409d7532a68872e84d2f3aefc /include/linux/memory_hotplug.h
parent65d88fd0baaa5c9def9383ac696097911d4ceb73 (diff)
downloadlinux-366a88fe2f40d6772985ec78cdd34df7f109bb88.tar.xz
bpf, ixgbe: add meta data support
Implement support for transferring XDP meta data into skb for ixgbe driver; before calling into the program, xdp.data_meta points to xdp.data, where on program return with pass verdict, we call into skb_metadata_set(). We implement this for the default ixgbe_build_skb() variant. For the ixgbe_construct_skb() that is used when legacy-rx buffer mananagement mode is turned on via ethtool, I found that XDP gets 0 headroom, so neither xdp_adjust_head() nor xdp_adjust_meta() can be used with this. Just add a comment with explanation for this operating mode. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions