Re: [PATCH net] net: pcs: xpcs-rk: limit advertised interfaces
From: Maxime Chevallier
Date: Fri Oct 30 2026 - 16:45:16 EST
Hi Coia,
On 10/29/26 10:49, Coia Prant wrote:
> The RK3568 XPCS supports 1000BASE-X, SGMII and QSGMII, but the RK3568
> GMAC only implements SGMII, so only SGMII is advertised in
> supported_interfaces.
>
> The generic xpcs core fills the mask from the compat table, which
> includes 1000BASE-X, QSGMII and the higher-speed modes. Clearing it and
> setting only SGMII keeps phylink from validating interfaces that are
> not usable here.
>
> 1000BASE-X and QSGMII can be enabled later when a board actually wires
> them up.
So the PCS supports them, but not the MAC ? The correct fix for that is
likely in the MAC then.
There's nothing board-specific when it comes to supporting 1000BaseX if you
already support SGMII, 2500BaseX may work (it's 1000BaseX but 2.5x faster).
Ii may just be that these modes aren't implemented in the MAC, so we should
keep them enabled at the PCS level.
Maxime