Re: [PATCH net-next v2 1/4] net: ethtool: add 500baseT2 link mode
From: Maxime Chevallier
Date: Sat Dec 05 2026 - 03:19:15 EST
Hi,
On 12/5/26 05:00, Hee-Suk Kim wrote:
> Add ETHTOOL_LINK_MODE_500baseT2_Full_BIT and SPEED_500 for 500 Mbps
> over two pairs, together with the matching phylib link capability.
>
> Signed-off-by: Hee-Suk Kim <hskim@xxxxxxxxxxxxx>
[...]
> @@ -295,6 +298,10 @@ unsigned long phy_caps_from_interface(phy_interface_t interface)
> {
> unsigned long link_caps = 0;
>
> + /* The only PHYs known to support 500baseT2 are attached over GMII */
> + if (interface == PHY_INTERFACE_MODE_GMII)
> + link_caps |= BIT(LINK_CAPA_500FD);
> +
This whole patch seems good to me, with all the phy_caps and all, the only question
I have is about the xMII mode used. Is it really GMII, or some tweaked version of it ?
I guess the MAC to PHY mode on these setups isn't pure GMII, but likely a modified
of it, with a different clock rate ? at 1G the GMII is clocked at 125MHz, do you know
what's going on at 500M ?
Does a PHY that supports 500BaseT2 also support other 2-pair modes, like 100BaseTX ?
IOW, can the xMII used here adapt for multiple speeds like GMII ?
We may need a dedicated phy_interface_t value for the xMII here is what I mean :)
Maxime