Re: Aquantia PHY in OCSGMII mode?

Russell King (Oracle)
2025-08-27T09:14:13Z

On Wed, Aug 27, 2025 at 11:03:42AM +0200, Alexander Wilhelm wrote:
> Am Wed, Aug 27, 2025 at 09:47:49AM +0100 schrieb Russell King (Oracle):
> > On Wed, Aug 27, 2025 at 10:41:11AM +0200, Alexander Wilhelm wrote:
> > > Set to 100M:
> > >
> > > fsl_dpaa_mac: [DEBUG] <memac_link_down> called
> > > fsl_dpaa_mac: [DEBUG] <memac_link_up> called
> > > fsl_dpaa_mac: [DEBUG] * mode: 0
> > > fsl_dpaa_mac: [DEBUG] * phy_mode(interface): 2500base-x
> > > fsl_dpaa_mac: [DEBUG] * memac_if_mode: 00000002 (IF_MODE_GMII)
> > > fsl_dpaa_mac: [DEBUG] * speed: 2500
> > > fsl_dpaa_mac: [DEBUG] * duplex: 1
> > > fsl_dpaa_mac: [DEBUG] * tx_pause: 1
> > > fsl_dpaa_mac: [DEBUG] * rx_pause: 1
> >
> > So the PHY reported that it's using 2500base-X ("OCSGMII") for 100M,
> > which means 0x31b 3 LSBs are 4. Your hardware engineer appears to be
> > incorrect in his statement.
>
> I asked the hardware engineer again. The point is that the MAC does not set
> SGMII for 100M. It still uses 2500base-x but with 10x paket repetition.

No one uses symbol repetition when in 2500base-x mode. Nothing supports
it. Every device datasheet I've read states clearly that symbol
repetition is unsupported when operating at 2.5Gbps.

Also think about what this means. If the link is operating at 2.5Gbps
with a 10x symbol repetition, that means the link would be passing
250Mbps. That's not compatible with _anything_.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!