[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1701437961.git.lorenzo@kernel.org>
Date: Fri, 1 Dec 2023 14:48:24 +0100
From: Lorenzo Bianconi <lorenzo@...nel.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
lorenzo.bianconi@...hat.com,
bpf@...r.kernel.org,
hawk@...nel.org,
toke@...hat.com,
aleksander.lobakin@...el.com,
willemdebruijn.kernel@...il.com,
jasowang@...hat.com,
sdf@...gle.com
Subject: [PATCH v3 net-next 0/2] add multi-buff support for xdp running in generic mode
Introduce multi-buffer support for xdp running in generic mode not always
linearizing the skb in netif_receive_generic_xdp routine.
Changes since v2:
- rely on napi_alloc_frag() and napi_build_skb() to build the new skb
Changes since v1:
- explicitly keep the skb segmented in netif_skb_check_for_generic_xdp() and
do not rely on pskb_expand_head()
Lorenzo Bianconi (2):
xdp: rely on skb pointer reference in do_xdp_generic and
netif_receive_generic_xdp
xdp: add multi-buff support for xdp running in generic mode
drivers/net/tun.c | 4 +-
include/linux/netdevice.h | 2 +-
net/core/dev.c | 165 +++++++++++++++++++++++++++++++-------
3 files changed, 137 insertions(+), 34 deletions(-)
--
2.43.0
Powered by blists - more mailing lists