[PATCH RFC net-next 4/5] net: phylink: add phylink_set_max_fixed_link()
Marek Behún
kabel at kernel.org
Tue Jul 5 03:58:28 PDT 2022
On Tue, 05 Jul 2022 10:48:02 +0100
"Russell King (Oracle)" <rmk+kernel at armlinux.org.uk> wrote:
> Add a function for DSA to use to configure phylink, in the absence of
> any other configuration, to a fixed link operating at the maximum
> supported link speed.
>
> This is needed so we can support phylink usage on CPU and DSA ports.
>
> We use the default interface that the DSA driver provides (if any)
> otherwise we attempt to find the first supported interface that gives
> the maximum speed for the link.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
Reviewed-by: Marek Behún <kabel at kernel.org>
More information about the Linux-mediatek
mailing list