linux/drivers/net/ethernet/intel/i40e
Magnus Karlsson 6aab0bb0c5 i40e: Use the xsk batched rx allocation interface
Use the new xsk batched rx allocation interface for the zero-copy data
path. As the array of struct xdp_buff pointers kept by the driver is
really a ring that wraps, the allocation routine is modified to detect
a wrap and in that case call the allocation function twice. The
allocation function cannot deal with wrapped rings, only arrays. As we
now know exactly how many buffers we get and that there is no
wrapping, the allocation function can be simplified even more as all
if-statements in the allocation loop can be removed, improving
performance.

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210922075613.12186-6-magnus.karlsson@gmail.com
2021-09-28 00:18:35 +02:00
..
i40e.h i40e: add support for PTP external synchronization clock 2021-07-21 08:53:54 -07:00
i40e_adminq.c
i40e_adminq.h
i40e_adminq_cmd.h i40e: Fix PHY type identifiers for 2.5G and 5G adapters 2021-05-07 09:35:49 -07:00
i40e_alloc.h
i40e_client.c RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
i40e_common.c i40e: clean up packet type lookup table 2021-06-18 09:04:44 -07:00
i40e_dcb.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
i40e_dcb.h
i40e_dcb_nl.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
i40e_ddp.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
i40e_debugfs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-09 20:48:35 -07:00
i40e_devids.h
i40e_diag.c
i40e_diag.h
i40e_ethtool.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
i40e_lan_hmc.h
i40e_main.c i40e: Fix spelling mistake "dissable" -> "disable" 2021-08-17 10:35:01 -07:00
i40e_nvm.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
i40e_osdep.h
i40e_prototype.h
i40e_ptp.c i40e: add support for PTP external synchronization clock 2021-07-21 08:53:54 -07:00
i40e_register.h i40e: add support for PTP external synchronization clock 2021-07-21 08:53:54 -07:00
i40e_status.h
i40e_trace.h
i40e_txrx.c i40e: Fix ATR queue selection 2021-08-19 09:55:23 -07:00
i40e_txrx.h i40e: Fix queue-to-TC mapping on Tx 2021-07-23 07:44:48 -07:00
i40e_txrx_common.h
i40e_type.h i40e: clean up packet type lookup table 2021-06-18 09:04:44 -07:00
i40e_virtchnl_pf.c i40e: improve locking of mac_filter_hash 2021-07-19 09:18:30 -07:00
i40e_virtchnl_pf.h
i40e_xsk.c i40e: Use the xsk batched rx allocation interface 2021-09-28 00:18:35 +02:00
i40e_xsk.h
Makefile