public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v3 0/3] net: bcmgenet: fix queue lock up
@ 2026-04-06 17:57 Justin Chen
  2026-04-06 17:57 ` [PATCH net v3 1/3] net: bcmgenet: fix off-by-one in bcmgenet_put_txcb Justin Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Justin Chen @ 2026-04-06 17:57 UTC (permalink / raw)
  To: netdev
  Cc: pabeni, kuba, edumazet, davem, andrew+netdev,
	bcm-kernel-feedback-list, florian.fainelli, opendmb, nb,
	Justin Chen

We have been seeing reports of logs like this.
# [   39.713199] bcmgenet 1001300000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 7991 ms
[   41.761198] bcmgenet 1001300000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 10039 ms
[   43.745198] bcmgenet 1001300000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 12023 ms
[   45.729198] bcmgenet 1001300000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 14007 ms

We have two issues. The persistent queue timeouts and the eventual lock up of the entire transmit.

We address the lock up issue first. The queue timeouts are due to a fundamental design issue
not a bug perse. Timeouts still persist, but we should no longer lock up.

v3
- Dropped this patch. Not relevant yet.
  net: bcmgenet: relax the xmit ring full case

v2
- These patches stayed the same.
  net: bcmgenet: fix off-by-one in bcmgenet_put_txcb
  net: bcmgenet: fix leaking free_bds
- New patches that fix a few other slightly related issues.
  net: bcmgenet: fix off-by-one in bcmgenet_put_txcb
  net: bcmgenet: relax the xmit ring full case

Justin Chen (3):
  net: bcmgenet: fix off-by-one in bcmgenet_put_txcb
  net: bcmgenet: fix leaking free_bds
  net: bcmgenet: fix racing timeout handler

 .../net/ethernet/broadcom/genet/bcmgenet.c    | 30 +++++++++----------
 1 file changed, 14 insertions(+), 16 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-06 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-06 17:57 [PATCH net v3 0/3] net: bcmgenet: fix queue lock up Justin Chen
2026-04-06 17:57 ` [PATCH net v3 1/3] net: bcmgenet: fix off-by-one in bcmgenet_put_txcb Justin Chen
2026-04-06 17:57 ` [PATCH net v3 2/3] net: bcmgenet: fix leaking free_bds Justin Chen
2026-04-06 17:57 ` [PATCH net v3 3/3] net: bcmgenet: fix racing timeout handler Justin Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox