[PATCH net-next v8 10/13] net: phy: mediatek: Extend 1G TX/RX link pulse time

Andrew Lunn andrew at lunn.ch
Sat Jun 22 10:46:07 PDT 2024


On Fri, Jun 21, 2024 at 08:20:42PM +0800, Sky Huang wrote:
> From: "SkyLake.Huang" <skylake.huang at mediatek.com>
> 
> We observe that some 10G devices' (mostly Marvell's chips inside) 1G
> training time violates specification, which may last 2230ms and affect
> later TX/RX link pulse time. This will invalidate MediaTek series
> gigabit Ethernet PHYs' hardware auto downshift mechanism.
> 
> Without this patch, if someone is trying to use "4-wire" cable to
> connect above devices, MediaTek' gigabit Ethernet PHYs may fail
> to downshift to 100Mbps. (If partner 10G devices' downshift mechanism
> stops at 1G)
> 
> This patch extends our 1G TX/RX link pulse time so that we can still
> link up with those 10G devices.
> 
> Tested device:
> - Netgear GS110EMX's 10G port (Marvell 88X3340P)
> - QNAP QSW-M408-4C
> 
> Signed-off-by: SkyLake.Huang <skylake.huang at mediatek.com>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the linux-arm-kernel mailing list