Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Nicolai Buchwitz
Fri, 20 Nov 2026 22:42
[PATCH net v2 0/5] net: bcmgenet, systemport: DIM and Rx discard fixes
Author: Nicolai Buchwitz
Date: Fri, 20 Nov 2026 22:42
Date: Fri, 20 Nov 2026 22:42
44 lines
10390 bytes
10390 bytes
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 or suspend 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 bugs there are the same.
---
Changes in v2:
- genet: flush the DIM work instead of cancelling it, which also covers
WoL suspend (Sashiko)
- genet: reset DIM before switching to running totals, so a stale sample
can't wrap after a reopen (Sashiko)
- genet, systemport: run net_dim() before napi_complete_done(), so no
DIM work can be queued after napi_disable()
- systemport: add the same DIM reset (Sashiko)
- systemport: the set_coalesce vs DIM work race is pre-existing and left
for a separate patch
- Link to v1: https://patch.msgid.link/20261118-nb-genet-dim-stats-net-v1-0-13b275f1e088@tipi-net.de
---
Nicolai Buchwitz (5):
net: bcmgenet: keep DIM from getting stuck after close or suspend
net: bcmgenet: accumulate the DIM packet and byte counters
net: bcmgenet: reset the Rx discard count with the ring
net: systemport: restart DIM from the default profile on start
net: systemport: accumulate the DIM packet and byte counters
drivers/net/ethernet/broadcom/bcmsysport.c | 20 ++++++++++++--------
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 19 +++++++++++++------
2 files changed, 25 insertions(+), 14 deletions(-)
---
base-commit: 2a324a58a084c5cfd7e5a2f55e0786bee170a4a5
change-id: 20261118-nb-genet-dim-stats-net-b6b6fd30398f
Best regards,
--
Nicolai Buchwitz <nb@tipi-net.de>
Re: [PATCH net v2 0/5] net: bcmgenet, systemport: DIM and Rx discard fixes
Author: patchwork-bot+netdevbpf
Date: Wed, 25 Nov 2026 02:40
Date: Wed, 25 Nov 2026 02:40
34 lines
9347 bytes
9347 bytes
Hello:
This series was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
On Fri, 20 Nov 2026 23:42:34 +0100 you wrote:
> 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 or suspend and
> resets the Rx discard count with the ring.
>
> [...]
Here is the summary with links:
- [net,v2,1/5] net: bcmgenet: keep DIM from getting stuck after close or suspend
https://git.kernel.org/netdev/net/c/aa5a537ec43c
- [net,v2,2/5] net: bcmgenet: accumulate the DIM packet and byte counters
https://git.kernel.org/netdev/net/c/a15079369636
- [net,v2,3/5] net: bcmgenet: reset the Rx discard count with the ring
https://git.kernel.org/netdev/net/c/e99faa3a1620
- [net,v2,4/5] net: systemport: restart DIM from the default profile on start
https://git.kernel.org/netdev/net/c/8e428e263fa4
- [net,v2,5/5] net: systemport: accumulate the DIM packet and byte counters
https://git.kernel.org/netdev/net/c/3e7e20beef4e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads