Re: [PATCH net 3/3] selftests/bpf: Drop the zero-copy tailroom from the xsk tests

From
Björn Töpel <bjorn@kernel.org>
Date
2026-11-27 16:56:31
Also in
bpf, intel-wired-lan, linux-kselftest
Reply to
Maciej Fijalkowski, 2026-11-27
On Fri, 27 Nov 2026 at 16:49, Maciej Fijalkowski
[off-list ref] wrote:
On Fri, Nov 27, 2026 at 03:21:29PM +0100, Björn Töpel wrote:
quoted
The xsk tests take the size of the shared info off the UMEM headroom
of RX_DROPPED and off the growth of XDP_ADJUST_TAIL_GROW_MULTI_BUFF,
as zero-copy multi-buffer pools kept it at the end of each chunk.

The previous patch moves the shared info into the buffer pool, so the
UMEM headroom limit and the frame size no longer leave room for it.
Drop it from both tests.

Signed-off-by: Björn Töpel <bjorn@kernel.org>
---
 tools/testing/selftests/bpf/prog_tests/test_xsk.c | 10 ++++------
 tools/testing/selftests/bpf/prog_tests/test_xsk.h |  2 --
 tools/testing/selftests/bpf/prog_tests/xsk.c      | 13 +------------
 tools/testing/selftests/bpf/xskxceiver.c          | 15 +--------------
This is based on old xskxceiver location, would it be better to have this
one send to -next out of this set? I assume the move might not have been
back-propagated yet...so seems we would have to double the effort?
Ya, good call. I'll pop this out of the series, and respin a v2 w/o this.

Please have a look at the Intel side of things if 1 and 2 is a good
fit. I'll spin a v2 when Sashiko has spoken!


Björn
Thread (10 messages) 10 messages, 4 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help