Thread (16 messages) 16 messages, 4 authors, 2026-03-14

Re: [PATCH net-next 0/6] net: bcmgenet: add XDP support

From: Florian Fainelli <florian.fainelli@broadcom.com>
Date: 2026-03-14 00:13:31
Also in: lkml

On 3/13/26 16:01, Florian Fainelli wrote:
On 3/13/26 02:20, Nicolai Buchwitz wrote:
quoted
Add XDP support to the bcmgenet driver, covering XDP_PASS, XDP_DROP,
XDP_TX, XDP_REDIRECT, and ndo_xdp_xmit.

The first patch converts the RX path from the existing kmalloc-based
allocation to page_pool, which is a prerequisite for XDP. The remaining
patches incrementally add XDP functionality and per-action statistics.

Tested on Raspberry Pi CM4 (BCM2711, bcmgenet, 1Gbps link):
- XDP_PASS: 943 Mbit/s TX, 935 Mbit/s RX (no regression vs baseline)
- XDP_PASS latency: 0.164ms avg, 0% packet loss
- XDP_DROP: all inbound traffic blocked as expected
- XDP_TX: TX counter increments (packet reflection working)
- Link flap with XDP attached: no errors
- Program swap under iperf3 load: no errors
This is very nice, thanks for doing that work! If the network is brought 
up and there is a background iperf3 client transmitting data, and then 
you issue "reboot -f", you will see the following NPD:
Sorry to flood you with more messages, after a little while I see those 
showing up on the console, is that intended?

# [ 4322.017024] page_pool_release_retry() stalled pool shutdown: id 5, 
256 inflight 4289 sec
[ 4331.297004] page_pool_release_retry() stalled pool shutdown: id 6, 
256 inflight 60 sec
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help