]> asedeno.scripts.mit.edu Git - linux.git/commit
bpf, i40e: add meta data support
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 28 May 2018 09:07:20 +0000 (11:07 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 Jun 2018 17:23:58 +0000 (10:23 -0700)
commitcc5b114dcf986bfd8e4c37bf65d1b7b1e5290ac6
tree8b4e40bb0d238c1ea873024cc216434dbf646c7d
parente9c721837da2a73798243ded051ff0ffdbc6066b
bpf, i40e: add meta data support

Add support for XDP meta data when using build skb variant of
the i40e driver. Implementation is analogous to the existing
ixgbe and ixgbevf support for meta data from 366a88fe2f40 ("bpf,
ixgbe: add meta data support") and be8333322eff ("ixgbevf: Add
support for meta data"). With the build skb variant we get
192 bytes of extra headroom which can be used for encaps or
meta data.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Tested-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c