linux/drivers/net
Tirthendu Sarkar 1c9ba9c146 i40e: xsk: add RX multi-buffer support
This patch is inspired from the multi-buffer support in non-zc path for
i40e as well as from the patch to support zc on ice. Each subsequent
frag is added to skb_shared_info of the first frag for possible xdp_prog
use as well to xsk buffer list for accessing the buffers in af_xdp.

For XDP_PASS, new pages are allocated for frags and contents are copied
from memory backed by xsk_buff_pool.

Replace next_to_clean with next_to_process as done in non-zc path and
advance it for every buffer and change the semantics of next_to_clean to
point to the first buffer of a packet. Driver will use next_to_process
in the same way next_to_clean was used previously.

For the non multi-buffer case, next_to_process and next_to_clean will
always be the same since each packet consists of a single buffer.

Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@intel.com>
Link: https://lore.kernel.org/r/20230719132421.584801-14-maciej.fijalkowski@intel.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-07-19 09:56:50 -07:00
..
appletalk
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-27 09:45:22 -07:00
caif
can
dsa net: dsa: mv88e6xxx: cleanup after phylink_pcs conversion 2023-07-14 08:51:49 +01:00
ethernet i40e: xsk: add RX multi-buffer support 2023-07-19 09:56:50 -07:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154 Core WPAN changes: 2023-06-24 15:41:46 -07:00
ipa
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-27 09:45:22 -07:00
mctp
mdio net: phy: mdio-bcm-unimac: Add asp v2.0 support 2023-07-17 07:39:04 +01:00
netdevsim netdevsim: add dummy macsec offload 2023-07-14 09:16:53 +01:00
pcs net: pcs: lynx: update PCS driver to use neg_mode 2023-06-22 19:41:01 -07:00
phy net: phy: at803x: add qca8081 fifo reset on the link changed 2023-07-17 10:15:14 +01:00
plip
ppp pptp: Constify the po parameter of pptp_route_output(). 2023-07-14 08:27:33 +01:00
pse-pd
slip
team
thunderbolt
usb net: usb: cdc_ether: add u-blox 0x1313 composition. 2023-07-01 13:15:58 +01:00
vmxnet3
vxlan
wan
wireguard wireguard: timers: move to using timer_delete_sync 2023-07-03 09:17:52 +01:00
wireless wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set() 2023-07-12 17:52:37 -07:00
wwan net: wwan: t7xx: Add AP CLDMA 2023-07-12 17:16:56 -07:00
xen-netback asm-generic updates for 6.5 2023-07-06 10:06:04 -07:00
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c gtp: Fix use-after-free in __gtp_encap_destroy(). 2023-06-24 15:20:42 -07:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c ntb_netdev: Fix module_init problem 2023-07-08 11:03:53 -04:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c
veth.c
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c