linux-stable/drivers/net/ethernet/intel
Jesper Dangaard Brouer 2a637c5b1a xdp: For Intel AF_XDP drivers add XDP frame_sz
Intel drivers implement native AF_XDP zerocopy in separate C-files,
that have its own invocation of bpf_prog_run_xdp(). The setup of
xdp_buff is also handled in separately from normal code path.

This patch update XDP frame_sz for AF_XDP zerocopy drivers i40e, ice
and ixgbe, as the code changes needed are very similar.  Introduce a
helper function xsk_umem_xdp_frame_sz() for calculating frame size.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Cc: intel-wired-lan@lists.osuosl.org
Cc: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/158945347511.97035.8536753731329475655.stgit@firesoul
2020-05-14 21:21:56 -07:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-04-25 20:18:53 -07:00
e1000e e1000e: fix S0ix flows for cable connected case 2020-04-19 11:37:00 -07:00
fm10k net: fm10k: reject unsupported coalescing params 2020-03-12 11:32:36 -07:00
i40e xdp: For Intel AF_XDP drivers add XDP frame_sz 2020-05-14 21:21:56 -07:00
iavf net: iavf: reject unsupported coalescing params 2020-03-12 11:32:36 -07:00
ice xdp: For Intel AF_XDP drivers add XDP frame_sz 2020-05-14 21:21:56 -07:00
igb igb: convert to use i2c_new_client_device() 2020-03-26 19:31:21 -07:00
igbvf net: igbvf: reject unsupported coalescing params 2020-03-12 11:32:36 -07:00
igc igc: Add debug messages to MAC filter code 2020-04-19 12:23:55 -07:00
ixgb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
ixgbe xdp: For Intel AF_XDP drivers add XDP frame_sz 2020-05-14 21:21:56 -07:00
ixgbevf ixgbevf: Add XDP frame size to VF driver 2020-05-14 21:21:56 -07:00
e100.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
Kconfig ice: enable initial devlink support 2020-03-21 00:55:42 -07:00
Makefile