🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23950

Re: [PATCH net v2] selftests: drv-net: pause: ensure the link partner sees the link when probed

#23950
From: Andrew Lunn
Date: Sat, 28 Nov 2026 17:07
16 lines
9081 bytes
> This has been found while running the stmmac kernel selftest suite
> between an imx8mp + ksz9131 PHY and a Intel i350-T4 card, the
> renegotiation happened too fast to reliably see it on the intel card
> side.

The logic of the patch makes sense. So i've no problems with the patch
itself.

I'm just curious about not being able to see it. Autoneg, at 1G, take
a little over 1 second. So if you can poll at 0.5s intervals, you
should see it. Is ssh to this machine really slow? Or is the Intel
i350-T4 driver doing something odd? Slow at reporting the down? Fast a
reporting the up?

	Andrew
Technical Details
Message-ID: <8c278a5e-588f-4b8e-a89b-2dfcafef2e64@lunn.ch>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373240-linux-kernel-netdev=dewy.ru
References: <20261128101725.17398-1-maxime.chevallier@bootlin.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373240-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] selftests: drv-net: pause: ensure the link
 partner sees the link when probed
Date: Sat, 28 Nov 2026 18:07:04 +0100
Organization: Usenet Network
Message-ID: <8c278a5e-588f-4b8e-a89b-2dfcafef2e64@lunn.ch>
References: <20261128101725.17398-1-maxime.chevallier@bootlin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="992879"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:fCWlObG6UXmm2LlB2cKil9UQPcU= sha256:n08hPN9FHeLvRDHJspfZxhbemX+8a7A/Z2QsrSpI4Fc=
	sha1:hw16aZQWMbgratEOBL6eX/t9lXg= sha256:uOxDKZdQQv4PKi2hgYWrprTGpSzHGOeHD7Fi3yxY4PQ=
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 EB3FD125F87; Sat, 28 Nov 2026 20:07:43 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.15
X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31
	tests=[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,
	URIBL_BLOCKED=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 D0Z1_EOt914H;
	Sat, 28 Nov 2026 20:07: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-373240-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 BE60D125F84; Sat, 28 Nov 2026 20:07:28 +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 95EB628996; Sat, 28 Nov 2026 17:07:26 +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=1795885645;
	b=vG+lp9AwInIb6A04JmGGSftc8bfzBSix1UUoFnbp/jDP7GHc0IvCVsrfJak4ykcKKOoC
	 WcWnIak5xhgzQoFWWvFByS/r2Nlh9mOqhjel2kReYT16Eq1XyFfAWt68oUJ/mmoRMXdg+
	 BEZFEl4lLahROPiJmD8Pmo+aG7FuFyip8AcnecqCXEh5D3z8Uojj/cC0jvG6iBVdjU/Ux
	 oUf1Cf0gj29+k+Wp7w2qnBQPollLP5YF7QgGLI3VQoNW3fnZ2Mr+CvBdpOo+HJvHs6hve
	 N0HgWY93N9CAh5oj61kG/A8JIQbJ7aEBvifC0MhkQRV1dRNdYBFMPzdTJX6xYKN/ORg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795885645;
	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=QCe2redy+XxR/or6UNphwy5IpNUEjHY5f4syZF+JSJc=;
	b=MF15Z0cdoJnzZFuLn9QMEUSH+AkMM5GPVCQzZI5R9y73Q6H76YmAR0RizGpRagxSOFMq
	 +/9eDeTLjUSOeakDS2QKLzq3Zn8CIygwerblzN6d6ZZn8594KDxxDRSR3xWjt2D2kyML2
	 GHTV3UvZmzNf9tM7CiN2bZyODr3MT2xpuYTy7LpYCbnT6cSwsEW6JcZUrMMv10R6ijxoH
	 2hgkuRfG+4UcsxEuQ9cTqUBcOgKooS9wCPDMyzMdVzAlk82ZfrfqhpFGycb9OO18HQTRh
	 2EJ8npbbcFCd4Y37oy8V1ZXZ572gcKSYERBUCdIudUa2K5RZH1Ycw5AszHdwW9h87Lw==
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=IKwvi4NS;
	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 D1256606A32F;
	Sat, 28 Nov 2026 17:07:25 +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=IKwvi4NS
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=1795885645;
	b=17myOgh3CyPCE00gkDo8BWIZASxUNhXzKfe6SHoe35hb+PJrN4DcSlXrVd5f8toXhbet
	 U/h6TnFzcS0I6i55vQxbTZ1RS5BRawGlX0aneVsZoV8l3WKi4860xn6SZv9P59PpHi9Nv
	 ftL6c1VQbQuhiX8s4rFn/xjYg8hlRNTsN0l8/K4871Ni84twXEGxplgE32gE08OjU0ju3
	 Rz4vgvX7QGGu2wl0G8kWIJwJxje7ESYZS8d7ZmCliXnV+0OD7bc4xfOttDQQNJpniWBrd
	 P3/crJ3huQge4yJsVzF5S01VNgUerUsbXG2ldHlwvkBb0ovvEe6ad2cdr3MgMBACljg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795885645;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=QCe2redy+XxR/or6UNphwy5IpNUEjHY5f4syZF+JSJc=;
	b=IZ2SIL9m8w8cmcgjrxie/untA/mESMYsExhe39VcR+iakHZJULzbHpCt8E9IAxvzsTvk
	 cORjQDdnwiZ4ZUCAgK0Q6EzZ46gjAWem5x8AYOvtbASra37QKpZ/NwLe59n19Fuqv2/Tf
	 iwh+VJx/wFZmib/VD3sPbwDrP26Hu6yWXJ3BMnzcuWzT8/9xOMu2w7xCE1LXOdYz5rUKq
	 l2aO4LsiiBzFQU2Q2y3QXgoXRSOHVbq/xcJ1juYSJlQYLRGd0inMJLJTCJgd/naswP+LU
	 vll5vLP/ddbC5ctjRZCV6/jjIQvTQ1YBNh03GQiTTgMMpNHIOss8iasdVa33rtDh++g==
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=IKwvi4NS;
	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 99FDE606A31C;
	Sat, 28 Nov 2026 17:07:24 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 99FDE606A31C
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=QCe2redy+XxR/or6UNphwy5IpNUEjHY5f4syZF+JSJc=; b=IKwvi4NSAuEc1vnveUrvIra7jO
	w9YZAhRMwgXN4MWNq+aYouYY9K1a37Q+OQJW/iieCeThUq4pe/w25PhtNKhG/46V/TYyHOAm0U8tV
	OrYFDMG/AJY2gH1xbvadvFBk9XPsjMLBxRPtS9jMRJCdZ+tdGA+yXJM/fFFZnuIYXTwk=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xXLtA-0020li-L3; Sat, 28 Nov 2026 18:07:04 +0100
X-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
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: <20261128101725.17398-1-maxime.chevallier@bootlin.com>