mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Maxime Chevallier <maxime.chevallier@bootlin.com>
Cc: Matthieu Baerts <matttbe@kernel.org>,
	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>,
	thomas.petazzoni@bootlin.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net] selftests: drv-net: pause: detect the link partner from the remote side
Date: Tue, 24 Nov 2026 18:29:59 +0100	[thread overview]
Message-ID: <ea5f29db-dd1f-4476-9766-1453e92234a5@lunn.ch> (raw)
In-Reply-To: <39d50105-c550-4925-bf63-6f0fcbb897c3@bootlin.com>

> Looks like it's rather the HW or driver that doesn't support this :(
> 
> But that's OK, I think we should ask the least possible features from the
> remotes, the rest of the selftest should already handle the missing capabilities
> just fine,

Supporting nway_reset is trivial, at least for drivers using
phylink/phylib. So we should encourage it.

So i would say if the device we are trying to test does not support
it, the test should fail. If the link peer does not have it, then i
would be more forgiving, we don't want a developer to be forced to
hack on somebody else driver in order to get their own driver to pass.

     Andrew

  reply	other threads:[~2026-11-24 17:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 20:14 Maxime Chevallier (Netdev Foundation)
2026-11-24 11:29 ` Matthieu Baerts
2026-11-24 14:28   ` Maxime Chevallier
2026-11-24 16:15     ` Matthieu Baerts
2026-11-24 16:26       ` Maxime Chevallier
2026-11-24 17:29         ` Andrew Lunn [this message]
2026-11-24 20:16 ` netdev-bot+sashiko

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=ea5f29db-dd1f-4476-9766-1453e92234a5@lunn.ch \
    --to=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=maxime.chevallier@bootlin.com \
    --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

all inboxes | Powered by JetHome®