Subject: Re: [PATCH RFC net-next 8/9] net: stmmac: qcom-ethqos: use phy interface mode for inband

From: Mohd Ayaan Anwar <[email-masked]>
Date: Wed, 18 Feb 2026 00:10:12 +0530

On Thu, Feb 12, 2026 at 12:18:21AM +0000, Russell King (Oracle) wrote:
> qcom-ethqos currently forces inband to be enabled for the Cisco SGMII
> speeds (1G, 100M and 10M) but not for 2500BASE-X (2.5G).
> 
> Rather than using the speed to determine the forced inband state, use
> phylink's PHY interface mode which will switch between SGMII for the
> 10M, 100M and 1G speeds, and 2500BASE-X for 2.5G.
> 
> Signed-off-by: Russell King (Oracle) <[email-masked]>

Reviewed-by: Mohd Ayaan Anwar <[email-masked]>

	Ayaan