Subject: Re: [PATCH RFC net-next v2 1/6] net: phylink: split out and export interface to caps translation

From: Marek Behún <[email-masked]>
Date: Wed, 13 Jul 2022 16:44:00 +0200

On Wed, 13 Jul 2022 15:07:42 +0100
"Russell King (Oracle)" <[email-masked]> 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(), and export it, which will be useful when
> setting the maximum fixed link speed in DSA code.
> 
> Signed-off-by: Russell King (Oracle) <[email-masked]>

Reviewed-by: Marek Behún <[email-masked]>