Skip to content

net: dsa: b53: fix bcm63xx rgmii user ports with speed < 1g

Jonas Gorski lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: dsa: b53: fix resetting speed and pause on forced linkdrivers/net/dsa/b53/b53_common.c+9 -01 replyApplied
2/2net: dsa: b53: fix bcm63xx RGMII port link adjustmentdrivers/net/dsa/b53/b53_common.c+11 -11 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] net: dsa: b53: fix bcm63xx rgmii user ports with speed < 1g

It seems that the integrated switch in bcm63xx does not support polling external PHYs for link configuration. While the appropriate registers seem to exist with expected content, changing them does nothing.

This results in user ports with external PHYs only working in 1000/fd, and not in other modes, despite linking up.

Fix this by writing the link result into the port state override register, like we already do for fixed links.

With this, ports with lower speeds can successfully transmit and receive packets.

This also aligns the behaviour with the old bcm63xx_enetsw driver for those ports.

Jonas Gorski (2):
net: dsa: b53: fix resetting speed and pause on forced link
net: dsa: b53: fix bcm63xx RGMII port link adjustment

 drivers/net/dsa/b53/b53_common.c | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

base-commit: d7d2fcf7ae31471b4e08b7e448b8fd0ec2e06a1b

Signature · 1 line
2.43.0