]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: phylink: report correct max speed for QUSGMII
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 9 Jun 2023 08:03:04 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 14:02:16 +0000 (16:02 +0200)
commitefb1315eb06ffd8169d609ab68df667ed68d94ae
treede1c258765c2a0d5bfc47d06eb24390bb46fa59c
parent85f0c05f17da43337dad0707e73cd8f441ee5586
net: phylink: report correct max speed for QUSGMII

[ Upstream commit b9dc1046edfeb7d9dbc2272c8d9ad5a8c47f3199 ]

Q-USGMII is the quad port version of USGMII, and supports a max speed of
1Gbps on each line. Make so that phylink_interface_max_speed() reports
this information correctly.

Fixes: ae0e4bb2a0e0 ("net: phylink: Adjust link settings based on rate matching")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/phylink.c