Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/ixgbe
Daniel Borkmann 366a88fe2f 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>
2017-09-26 13:36:44 -07:00
..
2016-04-25 04:15:11 -07:00
2013-02-05 01:44:13 -08:00
2016-04-25 04:15:11 -07:00
2016-04-25 04:15:11 -07:00
2017-09-26 13:36:44 -07:00
2016-04-25 04:15:11 -07:00