Re: [PATCH net-next RESEND v4 3/4] net: phy: Add helper to derive the number of ports from a phy mode

From: Andrew Lunn
Date: Thu Aug 18 2022 - 18:04:41 EST


On Wed, Aug 17, 2022 at 02:32:54PM +0200, Maxime Chevallier wrote:
> Some phy modes such as QSGMII multiplex several MAC<->PHY links on one
> single physical interface. QSGMII used to be the only one supported, but
> other modes such as QUSGMII also carry multiple links.
>
> This helper allows getting the number of links that are multiplexed
> on a given interface.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew