RE: [PATCH v3 net] net: phylink: add missing supported link modes for the fixed-link

From: Wei Fang
Date: Tue Nov 18 2025 - 03:43:45 EST


> On Mon, Nov 17, 2025 at 06:29:43PM +0800, Wei Fang wrote:
> > Pause, Asym_Pause and Autoneg bits are not set when pl->supported is
> > initialized, so these link modes will not work for the fixed-link.
> > This leads to a TCP performance degradation issue observed on the
> > i.MX943 platform.
> >
> > The switch CPU port of i.MX943 is connected to an ENETC MAC, this link
> > is a fixed link and the link speed is 2.5Gbps. And one of the switch
> > user ports is the RGMII interface, and its link speed is 1Gbps. If the
> > flow-control of the fixed link is not enabled, we can easily observe
> > the iperf performance of TCP packets is very low. Because the inbound
> > rate on the CPU port is greater than the outbound rate on the user
> > port, the switch is prone to congestion, leading to the loss of some
> > TCP packets and requiring multiple retransmissions.
> >
> > Solving this problem should be as simple as setting the Asym_Pause and
> > Pause bits. The reason why the Autoneg bit needs to be set, Russell
> > has gave a very good explanation in the thread [1], see below.
> >
> > "As the advertising and lp_advertising bitmasks have to be non-empty,
> > and the swphy reports aneg capable, aneg complete, and AN enabled,
> > then for consistency with that state, Autoneg should be set. This is
> > how it was prior to the blamed commit."
> >
> > [1]
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore
> > .kernel.org%2Fall%2FaRjqLN8eQDIQfBjS%40shell.armlinux.org.uk%2F&data=
> 0
> >
> 5%7C02%7Cwei.fang%40nxp.com%7Cf602663c2989492e292c08de267bcf5e%7
> C686ea
> >
> 1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638990510348901384%7CUnkn
> own%7CT
> >
> WFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4
> zMiI
> >
> sIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Ni8mNVFADhA
> 1SLOZk
> > z7yq%2FcogtuidA2u5GiK%2Bqm56L8%3D&reserved=0
> >
> > Fixes: de7d3f87be3c ("net: phylink: Use phy_caps_lookup for fixed-link
> > configuration")
> > Signed-off-by: Wei Fang <wei.fang@xxxxxxx>
> > Reviewed-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>
>
> NAK. I give up.
>

Sorry, could you please tell me what the reason is?