[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<PAXPR04MB8510007477C858A7E952E8E988CAA@PAXPR04MB8510.eurprd04.prod.outlook.com>
Date: Fri, 14 Nov 2025 08:52:07 +0000
From: Wei Fang <wei.fang@....com>
To: Russell King <linux@...linux.org.uk>
CC: "andrew@...n.ch" <andrew@...n.ch>, "hkallweit1@...il.com"
<hkallweit1@...il.com>, "davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>, "kuba@...nel.org"
<kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>, "eric@...int.com"
<eric@...int.com>, "maxime.chevallier@...tlin.com"
<maxime.chevallier@...tlin.com>, "imx@...ts.linux.dev" <imx@...ts.linux.dev>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH net] net: phylink: add missing supported link modes for
the fixed-link
> On Fri, Nov 14, 2025 at 01:28:08PM +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.
>
> What problem does this cause?
>
Our i.MX943 platform, the switch CPU port is connected to an ENETC
MAC, the link speed is 2.5Gbps. And one user port of switch is 1Gbps.
If the flow-control of internal link is not enabled, we can see the iperf
performance of TCP packets is very low. Because of the congestion
(ingress speed of CPU port is greater than egress speed of user port) in
the switch, some TCP packets were dropped, resulting in the packets
being retransmitted many times.
root@...943evk:~# iperf3 -c 192.168.1.2%swp2
Connecting to host 192.168.1.2, port 5201
[ 5] local 192.168.1.11 port 36558 connected to 192.168.1.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 51.2 MBytes 429 Mbits/sec 379 24.0 KBytes
[ 5] 1.00-2.00 sec 50.2 MBytes 422 Mbits/sec 401 24.0 KBytes
[ 5] 2.00-3.00 sec 50.0 MBytes 419 Mbits/sec 405 24.0 KBytes
[ 5] 3.00-4.00 sec 41.4 MBytes 347 Mbits/sec 395 24.0 KBytes
[ 5] 4.00-5.00 sec 43.9 MBytes 368 Mbits/sec 368 21.2 KBytes
[ 5] 5.00-6.00 sec 42.8 MBytes 359 Mbits/sec 346 24.0 KBytes
[ 5] 6.00-7.00 sec 35.4 MBytes 297 Mbits/sec 317 21.2 KBytes
[ 5] 7.00-8.00 sec 54.4 MBytes 456 Mbits/sec 389 26.9 KBytes
[ 5] 8.00-9.00 sec 45.4 MBytes 381 Mbits/sec 359 22.6 KBytes
[ 5] 9.00-10.00 sec 47.6 MBytes 399 Mbits/sec 350 21.2 KBytes
- - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 462 MBytes 388 Mbits/sec 3709 sender
[ 5] 0.00-10.00 sec 462 MBytes 387 Mbits/sec receiver
Powered by blists - more mailing lists