Thread (13 messages) flat view 13 messages, 4 authors, 2026-06-05

Re: [PATCH net v2 0/4] net: mvpp2: fix XDP RX buffer handling

From: Marcin Wojtas <marcin.s.wojtas@gmail.com>
Date: 2026-06-04 11:30:54
Also in: bpf, lkml

Hi Tim,


śr., 3 cze 2026 o 15:55 Alexander Lobakin
[off-list ref] napisał(a):
From: Til Kaiser <redacted>
Date: Tue,  2 Jun 2026 18:46:31 +0200
quoted
This is v2 of the earlier XDP_PASS fix. The XDP_PASS change is retained,
and the series now also fixes related RX/XDP buffer handling issues found
during review.

---
v1: https://lore.kernel.org/all/20260524122334.1730451-1-mail@tk154.de/ (local)

Changes in v2:
- Fixed RX DMA sync range to account for RX headroom.
- Limited XDP frame size to the actual RX buffer size.
- Fixed refill error paths so retired buffers are not returned to BM.

Til Kaiser (4):
  net: mvpp2: sync RX data at the hardware packet offset
  net: mvpp2: limit XDP frame size to the RX buffer
  net: mvpp2: do not return retired RX buffers to BM
  net: mvpp2: build skb from XDP-adjusted data on XDP_PASS

 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   | 38 ++++++++++++-------
 1 file changed, 25 insertions(+), 13 deletions(-)
Series:

Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Tha changes look good, thank you.

Reviewed-by: Marcin Wojtas <marcin.s.wojtas@gmail.com>

Best regards,
Marcin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help