]> git.baikalelectronics.ru Git - kernel.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)
commitfde2bcea18354f85b0ffdd679147ccc44991b4d7
tree8b4e40bb0d238c1ea873024cc216434dbf646c7d
parentc098e903689f94d54989c69136cbda0bd419c70d
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 a7141d383bbc ("bpf,
ixgbe: add meta data support") and d23d380790b5 ("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