[PATCH net-next v9 01/12] net: phylink: keep and use MAC supported_interfaces in phylink struct

Maxime Chevallier maxime.chevallier at bootlin.com
Tue Jul 21 04:59:22 PDT 2026


Hi,

On 7/17/26 08:54, Christian Marangi wrote:
> Add in phylink struct a copy of supported_interfaces from phylink_config
> and make use of that instead of relying on phylink_config value.
> 
> This in preparation for support of PCS handling internally to phylink
> where a PCS can be removed or added after the phylink is created and we
> need both a reference of the supported_interfaces value from
> phylink_config and an internal value that can be updated with the new
> PCS info.
> 
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>

Tested-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier at bootlin.com>

Maxime



More information about the Linux-mediatek mailing list