[PATCH RFC net-next 3/6] net: phylink: split out interface to caps translation
Marek Behún
kabel at kernel.org
Fri Jul 1 12:27:55 PDT 2022
On Wed, 29 Jun 2022 13:51:33 +0100
"Russell King (Oracle)" <rmk+kernel at armlinux.org.uk> wrote:
> phylink_get_linkmodes() translates the interface mode into a set of
> speed and duplex capabilities which are masked with the MAC modes
> to then derive the link modes that are available.
>
> Split out the initial transformation into a new function
> phylink_interface_to_caps(), which will be useful when setting the
> maximum fixed link speed.
>
> 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