linux_dsm_epyc7002/drivers/net/ethernet/intel/i40e
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
..
i40e_adminq_cmd.h
i40e_adminq.c
i40e_adminq.h
i40e_alloc.h
i40e_client.c
i40e_client.h
i40e_common.c
i40e_dcb_nl.c
i40e_dcb.c
i40e_dcb.h
i40e_ddp.c
i40e_debugfs.c
i40e_devids.h
i40e_diag.c
i40e_diag.h
i40e_ethtool.c
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c
i40e_nvm.c
i40e_osdep.h
i40e_prototype.h
i40e_ptp.c
i40e_register.h
i40e_status.h
i40e_trace.h
i40e_txrx_common.h
i40e_txrx.c
i40e_txrx.h
i40e_type.h
i40e_virtchnl_pf.c
i40e_virtchnl_pf.h
i40e_xsk.c xdp: For Intel AF_XDP drivers add XDP frame_sz 2020-05-14 21:21:56 -07:00
i40e_xsk.h
i40e.h
Makefile