Re: [PATCH net v2] selftests: drv-net: pause: ensure the link partner sees the link when probed
From: Maxime Chevallier
Date: Wed Dec 02 2026 - 11:52:36 EST
Hi,
On 11/29/26 22:16, Andrew Lunn wrote:
>> True that's a good idea, I could actually wire that up for the CI,
>> I have one such setup I can use with dwmac-socfpga + PCS lynx,
>> and I have some PCIe SFP cards that should support 1000BaseX, I'd
>> say this is a valuable test case to add.
>
> Cool. That would be great.
>
> There are also some PCS refactoring patches flying around it would be
> good to have some basic regression testing on. As Russell always
> complained, stmmac has an odd integration of PCS, so if anything is
> going to break it is likely to be stmmac.
It's been running this for a few days, already some interesting findings...
As you guessed, the autoneg is very fast in the fiber case, a few
milliseconds and it seems the Lynx PCS version we have on Socfpga
doesn't latch the link-down as it's supposed to, so we miss the
link flap in the selftest. I need to dig deeper into that.
And also, the peer is an intel card using ixgbe, and the drivers suffers
from the same flow-control oddities as IGB (bad advertising, support and
autoneg handling)...
I'll send all these fixes, then let the runner be part of the CI :)
Maxime