Thread (31 messages) 31 messages, 4 authors, 19h ago

Re: [PATCH net-next v6 08/13] net: mana: swap queue sets in mana_xdp_set

flat view

From: sashiko-bot@kernel.org
Date: 2026-10-10 14:42:02
Also in: bpf, linux-rdma

From: Long Li <longli@microsoft.com>

Carry the XDP program with the queue set and install its per-queue
references before redirecting RSS. This keeps the RX buffer layout and
program together during publication and rollback.

Do not replace the live program during allocation. This also avoids the
pre-existing failed-preallocation stale-pointer bug; its standalone net
fix is linked below.

This full rebuild temporarily keeps both sets of SQ/RQ/CQ objects,
RX buffers and page pools live. The port-owned EQ pool is shared,
not doubled. Device resource limits may reject this temporary peak;
allocation failure preserves the live queues and configuration.

Reserve RAW-QP admission under vport_mutex for the entire live
replacement, including unpublished queues, fail-close and scratch
cleanup. Preserve validation, no-op and down-port behavior.

Link: https://lore.kernel.org/all/20260904202640.3900685-1-longli@microsoft.com/ (local)

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Wei Hu <redacted>
Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1790795005.git.weh@linux.microsoft.com?part=8
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help