Re: [PATCH net v2] net: pcs: enable autonegotiation for 10g-usxgmii

From: Patryk Biel

Date: Wed Aug 26 2026 - 03:39:53 EST


Hi Vladimir,

On Tue, Aug 25, 2026 at 11:49 PM Vladimir Oltean <olteanv@xxxxxxxxx> wrote:
> There are multiple differences compared to U-Boot does. I haven't yet
> been able to definitively determine the cause for regression. I'll debug
> more tomorrow. Preliminary testing shows that any link timer values > 0.84 ms
> will cause in-band autoneg to not complete with this combination.
>
> To be clear, does your board work with this patch?

Yes I tested it, I can provide you any logs you would find useful.
Below is just a short log from interface bring up and simple iperf3
test:

root@tru-:~# ip link set up swp0
[ 60.159618] mscc_felix 0000:00:00.5 swp0: configuring for
inband/10g-qxgmii link mode
[ 63.308354] mscc_felix 0000:00:00.5 swp0: Link is Up - 1Gbps/Full -
flow control off
root@tru-:~# ip addr add 192.168.10.2/24 dev swp0
root@tru-:~# iperf3 -s 192.168.10.2
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.10.1, port 44470
[ 5] local 192.168.10.2 port 5201 connected to 192.168.10.1 port 44484
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 111 MBytes 933 Mbits/sec
[ 5] 1.00-2.00 sec 111 MBytes 934 Mbits/sec
[ 5] 2.00-3.00 sec 112 MBytes 935 Mbits/sec
[ 5] 3.00-4.00 sec 111 MBytes 934 Mbits/sec
[ 5] 4.00-5.00 sec 111 MBytes 934 Mbits/sec
[ 5] 5.00-6.00 sec 111 MBytes 934 Mbits/sec
[ 5] 6.00-7.00 sec 111 MBytes 934 Mbits/sec
[ 5] 7.00-8.00 sec 111 MBytes 934 Mbits/sec
[ 5] 8.00-9.00 sec 111 MBytes 934 Mbits/sec
[ 5] 9.00-10.00 sec 111 MBytes 934 Mbits/sec
[ 5] 10.00-10.24 sec 2.25 MBytes 77.7 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.24 sec 1.09 GBytes 914 Mbits/sec receiver

Will also try to find out what could possibly go wrong.

Best regards
Patryk