Thread (13 messages) 13 messages, 3 authors, 2026-03-05

Re: [PATCH bpf v4 0/9] Address XDP frags having negative tailroom

From: Larysa Zaremba <hidden>
Date: 2026-03-05 11:48:28
Also in: bpf, imx, intel-wired-lan, linux-kselftest, lkml

On Wed, Mar 04, 2026 at 06:55:31PM -0800, Jakub Kicinski wrote:
On Mon,  2 Mar 2026 17:17:13 +0100 Larysa Zaremba wrote:
quoted
Aside from the issue described below, tailroom calculation does not account
for pages being split between frags, e.g. in i40e, enetc and
AF_XDP ZC with smaller chunks. These series address the problem by
calculating modulo (skb_frag_off() % rxq->frag_size) in order to get
data offset within a smaller block of memory. Please note, xskxceiver
tail grow test passes without modulo e.g. in xdpdrv mode on i40e,
because there is not enough descriptors to get to flipped buffers.
This was re-assigned to netdev in pw, I presume by BPF maintainers.
But it doesn't apply to net. There's a conflict in ice.
Could you rebase on net and repost?
I have just sent v5 with net as a base tree, had to fix one other thing anyway.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help