[PATCH net 0/4] net: bcmgenet, systemport: DIM and Rx discard fixes
From: Nicolai Buchwitz
Date: Wed Nov 18 2026 - 14:56:49 EST
Sashiko has flagged a few genet bugs over time. I'll work through them
as time permits, fixing the ones that seem worth it.
DIM on genet and systemport wants running totals but gets per-poll
counts, so it picks bogus profiles from the wrong numbers.
The series also fixes DIM getting stuck after a down/up and resets the
Rx discard count with the ring.
Patches 1-3 have been tested on a Raspberry Pi CM4. I don't have any
systemport hardware, but the bug there is the same.
---
Nicolai Buchwitz (4):
net: bcmgenet: accumulate the DIM packet and byte counters
net: bcmgenet: restart DIM from the default profile on ring init
net: bcmgenet: reset the Rx discard count with the ring
net: systemport: accumulate the DIM packet and byte counters
drivers/net/ethernet/broadcom/bcmsysport.c | 4 ++--
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 9 +++++++--
2 files changed, 9 insertions(+), 4 deletions(-)
---
base-commit: 2a324a58a084c5cfd7e5a2f55e0786bee170a4a5
change-id: 20261118-nb-genet-dim-stats-net-b6b6fd30398f
Best regards,
--
Nicolai Buchwitz <nb@xxxxxxxxxxx>