mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: sparx5/lan969x: fix RX ring stall on frames from inactive ports
@ 2026-11-16  9:56 Daniel Machon
  2026-11-16  9:56 ` [PATCH net 1/2] net: sparx5: " Daniel Machon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Machon @ 2026-11-16  9:56 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Steen Hegelund, UNGLinuxDriver
  Cc: Zhang Hewei, netdev, linux-arm-kernel, linux-kernel

On Sparx5 and lan969x, a received frame whose source port does not map
to an active port is never consumed from the FDMA RX ring: the NAPI poll
stops on it, and finds the same DB again on every following poll.

Patch 1 fixes Sparx5, where the same skb grows on every poll until
skb_over_panic().

Patch 2 fixes lan969x, where RX stops on all ports.

The issue was reported by Zhang Hewei, and these patches replace his
series [1]. Tested on Sparx5 and lan969x.

[1] https://lore.kernel.org/netdev/tencent_D2451CD0D7B4B812CEBADB56DC722BC33406@qq.com/

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
---
Daniel Machon (2):
      net: sparx5: fix RX ring stall on frames from inactive ports
      net: lan969x: fix RX ring stall on frames from inactive ports

 drivers/net/ethernet/microchip/sparx5/lan969x/lan969x_fdma.c | 11 ++++++-----
 drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c          | 12 +++++++++---
 2 files changed, 15 insertions(+), 8 deletions(-)
---
base-commit: aa40afa831ebfe45e40a23721711059f2ac584d4
change-id: 20261116-sparx5-rx-inactive-port-df606d3f9b1a

Best regards,
-- 
Daniel Machon <daniel.machon@microchip.com>


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

end of thread, other threads:[~2026-11-18  3:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16  9:56 [PATCH net 0/2] net: sparx5/lan969x: fix RX ring stall on frames from inactive ports Daniel Machon
2026-11-16  9:56 ` [PATCH net 1/2] net: sparx5: " Daniel Machon
2026-11-16  9:56 ` [PATCH net 2/2] net: lan969x: " Daniel Machon
2026-11-18  3:00 ` [PATCH net 0/2] net: sparx5/lan969x: " patchwork-bot+netdevbpf

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

all inboxes | Powered by JetHome®