Re: [PATCH net-next V2 5/5] net: lan743x: Add Support for 2.5G SFP with 2500Base-X Interface

From: Andrew Lunn
Date: Wed Sep 11 2024 - 13:31:21 EST


> @@ -3359,6 +3362,7 @@ static int lan743x_phylink_create(struct lan743x_adapter *adapter)
> lan743x_phy_interface_select(adapter);
>
> switch (adapter->phy_interface) {
> + case PHY_INTERFACE_MODE_2500BASEX:
> case PHY_INTERFACE_MODE_SGMII:
> __set_bit(PHY_INTERFACE_MODE_SGMII,
> adapter->phylink_config.supported_interfaces);

I _think_ you also need to set the PHY_INTERFACE_MODE_2500BASEX bit in
phylink_config.supported_interfaces if you actually support it.

Have you tested an SFP module capable of 2500BASEX?

Andrew