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)
committerJakub Kicinski <kuba@kernel.org>
Mon, 12 Jun 2023 23:51:20 +0000 (16:51 -0700)
commitb9dc1046edfeb7d9dbc2272c8d9ad5a8c47f3199
tree7c7f390015c160835a4eca7a9d500588a2859eaf
parent75e6def3b26736e7ff80639810098c9074229737
net: phylink: report correct max speed for QUSGMII

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>
drivers/net/phy/phylink.c