Skip to content

net: ti: icssg-prueth: fix port config and rx_mode drops

Rishi Kumar linux-arm-kernel lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: ti: icssg-prueth: fix missing port config on second interface opendrivers/net/ethernet/ti/icssg/icssg_prueth.c+44 -280 replies
2/2net: ti: icssg-prueth: re-apply rx_mode state after firmware rebootdrivers/net/ethernet/ti/icssg/icssg_prueth.c+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] net: ti: icssg-prueth: fix port config and rx_mode drops

Two independent fixes for the ICSSG PRUETH driver, both hit during switch offload testing with ports opened/closed in varying order.

Patch 1 fixes icssg_enable_fw_offload() running only once, on the first port to open (gated by !emacs_initialized), so a sibling port that opens later never gets its FDB/VLAN table/PVID configured. Each port now configures itself at open time.

Patch 2 fixes icssg_set_port_state() commands (e.g. promisc/allmulti flood enable from rx_mode_work) being silently dropped when they race a PRU/RTU/txPRU firmware reboot, by re-queuing rx_mode_work for all running ports once the firmware is confirmed back up.

Rishi Kumar (2):
net: ti: icssg-prueth: fix missing port config on second interface
open
net: ti: icssg-prueth: re-apply rx_mode state after firmware reboot

 drivers/net/ethernet/ti/icssg/icssg_prueth.c | 89 ++++++++++++++------
 1 file changed, 61 insertions(+), 28 deletions(-)
Signature · 1 line
2.53.0