[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251124080858.89593-1-kerneljasonxing@gmail.com>
Date: Mon, 24 Nov 2025 16:08:55 +0800
From: Jason Xing <kerneljasonxing@...il.com>
To: davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
bjorn@...nel.org,
magnus.karlsson@...el.com,
maciej.fijalkowski@...el.com,
jonathan.lemon@...il.com,
sdf@...ichev.me,
ast@...nel.org,
daniel@...earbox.net,
hawk@...nel.org,
john.fastabend@...il.com
Cc: bpf@...r.kernel.org,
netdev@...r.kernel.org,
Jason Xing <kernelxing@...cent.com>
Subject: [PATCH net-next 0/3] xsk: introduce atomic for cq in generic
From: Jason Xing <kernelxing@...cent.com>
In the hot path (that is __xsk_generic_xmit()), playing with spin lock
is time consuming. So this series replaces spin lock with atomic
operations to get better performance.
Jason Xing (3):
xsk: add atomic cached_prod for copy mode
xsk: add the atomic parameter around cq in generic path
xsk: convert cq from spin lock protection into atomic operations
include/net/xsk_buff_pool.h | 5 -----
net/xdp/xsk.c | 16 ++++------------
net/xdp/xsk_buff_pool.c | 1 -
net/xdp/xsk_queue.h | 37 ++++++++++++++++++++++++-------------
4 files changed, 28 insertions(+), 31 deletions(-)
--
2.41.3
Powered by blists - more mailing lists