Netdev List
 help / color / mirror / Atom feed
From: Maxime Chevallier <maxime.chevallier@bootlin.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Jakub Kicinski <kuba@kernel.org>,
	davem@davemloft.net, Eric Dumazet <edumazet@kernel.org>,
	Willem de Bruijn <willemb@google.com>,
	Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
	Russell King <linux@armlinux.org.uk>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Bobby Eshleman <bobbyeshleman@meta.com>,
	Stanislav Fomichev <sdf@fomichev.me>,
	Breno Leitao <leitao@debian.org>,
	matttbe@kernel.org, thomas.petazzoni@bootlin.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net v2] selftests: drv-net: pause: ensure the link partner sees the link when probed
Date: Wed, 2 Dec 2026 17:52:10 +0100	[thread overview]
Message-ID: <917cbde0-8fa9-41ac-9991-61e3d82eb2da@bootlin.com> (raw)
In-Reply-To: <c432fb2c-e551-4a31-bd73-ae59410d9ed8@lunn.ch>

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

      reply	other threads:[~2026-12-02 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 10:17 [PATCH net v2] selftests: drv-net: pause: ensure the link partner sees the link when probed Maxime Chevallier (Netdev Foundation)
2026-11-28 17:07 ` Andrew Lunn
2026-11-29 12:26   ` Maxime Chevallier
2026-11-29 14:55     ` Andrew Lunn
2026-11-29 18:38       ` Maxime Chevallier
2026-11-29 21:16         ` Andrew Lunn
2026-12-02 16:52           ` Maxime Chevallier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=917cbde0-8fa9-41ac-9991-61e3d82eb2da@bootlin.com \
    --to=maxime.chevallier@bootlin.com \
    --cc=andrew@lunn.ch \
    --cc=bobbyeshleman@meta.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=matttbe@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf@fomichev.me \
    --cc=skhan@linuxfoundation.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=willemb@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox