🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21986

Re: [PATCH net] selftests: drv-net: pause: detect the link partner from the remote side

#21986
From: Andrew Lunn
Date: Tue, 24 Nov 2026 17:29
16 lines
9256 bytes
> 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
Technical Details
Message-ID: <ea5f29db-dd1f-4476-9766-1453e92234a5@lunn.ch>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370621-linux-kernel-netdev=dewy.ru
References: <20261123201406.479904-1-maxime.chevallier@bootlin.com> <4148e81b-ec5b-4374-b74f-4f5cba175c7b@kernel.org> <fb92bc0b-ab3f-49ac-b4a5-5368c87b3a7e@bootlin.com> <bd804c6d-0294-40b9-a6eb-2b1ab2ad357e@kernel.org> <39d50105-c550-4925-bf63-6f0fcbb897c3@bootlin.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370621-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
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
Organization: Usenet Network
Message-ID: <ea5f29db-dd1f-4476-9766-1453e92234a5@lunn.ch>
References: <20261123201406.479904-1-maxime.chevallier@bootlin.com> <4148e81b-ec5b-4374-b74f-4f5cba175c7b@kernel.org> <fb92bc0b-ab3f-49ac-b4a5-5368c87b3a7e@bootlin.com> <bd804c6d-0294-40b9-a6eb-2b1ab2ad357e@kernel.org> <39d50105-c550-4925-bf63-6f0fcbb897c3@bootlin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network; logging-data="4190886"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:iyMhp5BmgrWgcSeXPXooF3ejSco= sha256:hJjPaDv6Exoq3Mkqrho1BrcTsEjo9GfPP+lLBQOG1mk= sha1:Hpfs6iSenj3zZLiakbcZ9GNQtts= sha256:JcdEBfWZo3XPeFfxiLn367I2TTsvT8jWMxnKffrV1hs=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 64F73125E2C; Tue, 24 Nov 2026 20:30:45 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch
X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ri0seXG7Y5n; Tue, 24 Nov 2026 20:30:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-370621-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id B3A42125E29; Tue, 24 Nov 2026 20:30:26 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id DDE4A35B6C; Tue, 24 Nov 2026 17:30:24 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795541424; b=uWXb1aQKlaBCnzWByhhpjRoCBtfdgU658zPwhbiKsh1fI5EEXFz78FzO/wllBJlgOtol 2O9Vy+mtozgFlM1mahP/jARMY5mrwWXPPchGX3kWwjX1soY3xitteSw9+zwdbADh2HZ2I Hi9UvUnHrtrMJHYQSSNHrgPxYT2LTkfB1horDWiiYNEiWjnttHUBInZ3oZqvODj+Af3eS heR1a+f6T0PWhqr6sidnAm5jX+qzRyAkyaCMgsns7q0EWI1NkwB/O52DQWs+Am4exfqjy yAq9mLC5tSU7HXbKezkReurSpDzjZwJwlBIlZG4SzpA1nZH2wXc/t1USbREnMKMD/wg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795541424; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=HsGkEro8HuxBLRoCIFXQ+xehN2F2sy5GeuRlei0vFA4=; b=rVQfYF26xpiQVzm4sXcB6GGyTb4m4Iv85pifdGnsYhMKIX3MOOcav8002B4u+i0HImIo t6eSBH+RypORYhZphMH7p9tAHwM4PTvnzPHVcbbZmLP+nElUnJgG3FSImSfLMC6u+fODq pRMOwY451fGEg5t7SFHtkwc/aAZV2A1vQ7zrSgHuVr8L/XLw0JGMfi2FQbM88KQj7umwU kBHzPNBcV/rmZxOPcSgW/uLY4sWkrJ4HUmgLVYnMBStXwJ01z7LZTCDzp5DWw5ILKoP5p vyLG+5G3mr0WWSqpFNo6xeAJoihKAeJj8h7iWksZkpsgpNvQbirB7f1tN9rR+uU5ThQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Ba042zpi; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31E86606A331; Tue, 24 Nov 2026 17:30:24 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Ba042zpi
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795541418; b=5geNndxAFdeLvs8tEVFgL7D6pPVy6Ge/nY4LuYcFNJjSUp87rUW2Vp1agMV0h8sy8ld+ 0ce+gEXE8d5l5KbSPXBlkFbr9brkG8DyC/xRKZH8uX28QOgFy0cAiTy4ANTBwEzmrvNkO BMgCokO/EtQEaUK4Fd+IywMsnwe3WmajJ0fEbca3BJsDlA6Ag0d3kdp4xFOQX2ZLsdNuK I/TmVHLTRwot1FlUiO5xrvYA7cLGrlQSj2MGbhtqxSJyoyIukUN4LaC8g12uo78Crvutq w2mabPeMUF59HyFRwRiVv3XWcDBXnuc+m6jwkWL+W/y/E1nxccPIOqKiUDWNwmLXMew==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795541418; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=HsGkEro8HuxBLRoCIFXQ+xehN2F2sy5GeuRlei0vFA4=; b=QvHi/rHSmW0vGbkh6Qvkg292MPd/ahm4oL/dQJK85tgujf+nAkUBiqf0ZVmB/m5/CoPW PeqebP+hFFEhVApidPmnyHwafg5BjdKkxk267F95JVqqJ1vSQdO5cP1N9uat4+TaMxUaG AEq3hmwQ7kSrpcTNIdGWZH8oQCRTTCshgXgrfZse9RqzSsQFWsCiebDv5n6oKPVtChJX7 lZpzKj6MWxvCpzJBG/P1bukJbqBUQsxu8++roEhEZo6PymgwrDqzGBC7JLR16umPX8Snw 7/7xX7Ztki/jXlOG0OcYJ43Lm/MbEZVKM4oW+ienYklH72vS90N7Qq6OPMhBahy7rOQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Ba042zpi; arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB4DE606A329; Tue, 24 Nov 2026 17:30:17 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EB4DE606A329
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=HsGkEro8HuxBLRoCIFXQ+xehN2F2sy5GeuRlei0vFA4=; b=Ba042zpiCWyA7HYpeKbS2Izc+w g0lHU4hBdilPyzNu3D/wEXntRxs1Smf7rsiVKHZ/2HumSkpiFSYj6ssdbOUGuwZZm3rTqqzQqEW1a cGyYDPsm0s16UADVk+kNFCedn556kpcjSK3a1ln4vua0eMitQynRrHCW6N7O11nKWFF8=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xVuL9-0017Dr-0x; Tue, 24 Nov 2026 18:29:59 +0100
X-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
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <39d50105-c550-4925-bf63-6f0fcbb897c3@bootlin.com>