All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next v2 0/2] xsk: introduce pre-allocated memory per xsk CQ
@ 2025-12-16  5:26 Jason Xing
  2025-12-16  5:26 ` [PATCH bpf-next v2 1/2] xsk: introduce local_cq for each af_xdp socket Jason Xing
  2025-12-16  5:26 ` [PATCH bpf-next v2 2/2] xsk: introduce a dedicated local completion queue for each xsk Jason Xing
  0 siblings, 2 replies; 5+ messages in thread
From: Jason Xing @ 2025-12-16  5:26 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, bjorn, magnus.karlsson,
	maciej.fijalkowski, jonathan.lemon, sdf, ast, daniel, hawk,
	john.fastabend
  Cc: bpf, netdev, Jason Xing

From: Jason Xing <kernelxing@tencent.com>

This series was made based on the previous work[1] to fix the issue
without causing too much performance impact through adding a
pre-allocated memory for each xsk.

[1]: commit 30f241fcf52a ("xsk: Fix immature cq descriptor production")

---
v2
link: https://lore.kernel.org/all/20251209085950.96231-1-kerneljasonxing@gmail.com/
1. add if condition to test if cq is NULL
2. initialize the prod of local_cq

Jason Xing (2):
  xsk: introduce local_cq for each af_xdp socket
  xsk: introduce a dedicated local completion queue for each xsk

 include/net/xdp_sock.h |   8 ++
 net/xdp/xsk.c          | 208 ++++++++++++++++++++---------------------
 2 files changed, 111 insertions(+), 105 deletions(-)

-- 
2.41.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-16  6:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-16  5:26 [PATCH bpf-next v2 0/2] xsk: introduce pre-allocated memory per xsk CQ Jason Xing
2025-12-16  5:26 ` [PATCH bpf-next v2 1/2] xsk: introduce local_cq for each af_xdp socket Jason Xing
2025-12-16  5:46   ` bot+bpf-ci
2025-12-16  6:18     ` Jason Xing
2025-12-16  5:26 ` [PATCH bpf-next v2 2/2] xsk: introduce a dedicated local completion queue for each xsk Jason Xing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.