🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7402

Re: [PATCH net] net: rnpgbe: Accept link-down events without speed magic

#7402
From: Yibo Dong
Date: Mon, 26 Oct 2026 09:26
47 lines
10545 bytes
On Mon, Oct 26, 2026 at 08:00:22AM +0000, netdev-bot+sinfo@kernel.org wrote:
> Hi!
> 
> This is an automated message. This series looks like a fix, but its
> commit messages seem to be missing some information:
> 
>  - How the issue was discovered, e.g. hit in production, hit during
>    development, syzbot report, manual code inspection, LLM or static
>    analysis tool scan.
> 
>  - What hardware the change was tested on. For driver fixes please
>    mention the device (and if relevant firmware version) used for
>    testing, or say that the change was not tested on real hardware.
> 
> Please do not repost the series just to address the above. Instead,
> reply to this email with the missing information, so that reviewers
> can take it into account. If the series needs another revision for
> other reasons, please include the information in the commit messages
> then.
> 
> The evaluation is done by an LLM so it may be wrong, if you think
> that is the case please reply and explain.
> 
Hi,

The issue was encountered during rnpgbe development and hardware
regression testing.

The fix was tested on MUCSE N210 and N500 adapters with firmware
1.1.8.0, using PCI passthrough to a VM. Physical N500 is used as
link partners.

With the unpatched driver, administratively bringing down the link
partner left the VM interface reporting carrier up throughout a
seven-second observation period. With the patch applied, the VM
interface correctly reported carrier down.

The comparison was repeated three times per adapter for both driver
versions. After bringing the link partner back up, bidirectional
ping passed in every case.

If another revision is needed, I will include this information in
the commit message.

Thanks,
Dong Yibo
Technical Details
Message-ID: <5A927C9600407C98+20261026092615.GA933559@nic-Precision-5820-Tower>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351789-linux-kernel-netdev=dewy.ru
References: <C2DFBBF04F1DCFD2+20261026075445.920572-1-dong100@mucse.com> <179300162296.3327.8577140950893281339@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351789-linux-kernel-netdev=dewy.ru
From: dong100@mucse.com (Yibo Dong)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: rnpgbe: Accept link-down events without speed
 magic
Date: Mon, 26 Oct 2026 17:26:15 +0800
Organization: Usenet Network
Message-ID: <5A927C9600407C98+20261026092615.GA933559@nic-Precision-5820-Tower>
References: <C2DFBBF04F1DCFD2+20261026075445.920572-1-dong100@mucse.com>
 <179300162296.3327.8577140950893281339@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1271268"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:daMNa6/pIRcHsbrVX/OCdQDlNek= sha256:yhF9pP+faMfER0VoG54tH/Du322Un5Aag2Qm+pXtZf4=
	sha1:5AthGkKjp0pSN9yQlDkCYVhi4W0= sha256:Gdbua63XinIKq1T9ZA8Htw8xmoHlvbgnO5xJdGWF0g0=
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 AD184125B97; Mon, 26 Oct 2026 12:31:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.95
X-Spam-Status: No, score=-2.95 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	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-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 ll9lE-R2lxlj;
	Mon, 26 Oct 2026 12:31:53 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351789-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mucse.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 8325D125B96; Mon, 26 Oct 2026 12:31:49 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 0534D44B86; Mon, 26 Oct 2026 09:27:28 +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=1793006847;
	b=wYdmE18UqNvWzsAAZ/vsmzRrh9mVNA1pUAA9ktR31MVOjoUYNFFP1aa9arm51PijGbiz
	 8RhL6WxTv88HO9RIHQFvU2NbGqRdohjgrokXqpygOR/udMa8Q7YRxp7zhy6f5egAgzJ9x
	 7SlDPr2z3AS1aQ0RZm0K3KjKyoLTwDnNBnPNDh0531eOQlNinezYf2b1O4IW7FZtw/l+r
	 zZeB8eCip81CXDZWR+bh+3R/z8NJh/Jn7v1sDsrSvCYeB4gFwj5cOUjYOsAqYr4iYeJ3k
	 rGEEhPSfwewith4/OwLVBgcRLsBD+69BJYinO8C++7imS5aqgpv3/JM23308Db9I2KA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793006847;
	h=X-Original-To:Received:DMARC-Filter:X-QQ-mid:X-QQ-Originating-IP:
	 Received:X-QQ-SSF:X-QQ-GoodBg:X-BIZMAIL-ID:EX-QQ-RecipientCnt: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:
	 X-QQ-SENDSIZE:Feedback-ID:X-QQ-XMAILINFO:X-QQ-XMRINFO:X-QQ-RECHKSPAM;
	bh=UOjH/KZrJevJUFQC3mjbJKqPCVBhF0Dx/9N1xhVblbk=;
	b=n20+JqBmwmA9eLsn7x6bAs4pgWIrJ/dvQLvWhYlDPt4LPriJ+UcdyQb8XKObZMwP8A09
	 ZUu0jCoBFvYV9vfntkeczvkuuYHC4KEYp8edwfaVH9LGaYNw5vGNz5lWlFzYHeZZnA6+4
	 71TSzSs29G1sMCDUHAlsfFcXR/xo2jews0r/lqAKlJZKypq1+42q9/UaK4dOFYI3bt0S3
	 FG6XDlxj3HL7LxOdH7l8Lma1Fv3ivuNPUBa4Ytf7PcEgGZ0SPKa/7q5ZOrJYkwQqGPZ8R
	 C+YicNYqKJ/GXp9D5mxAGPVNF0n9Z1xPVXfuO9ghfMtXnW1lpysDR+H7P/6+5iPzdrQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=mucse.com;
	spf=pass smtp.mailfrom=mucse.com;
	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 DAE0D606A328;
	Mon, 26 Oct 2026 09:27:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=54.92.39.34
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793006847;
	b=if96/F9bx3KHIgoUUl/Mxq19N3Qf1QbYxGBifbEV4jJq3XOCRFcc9AkGHyIadNbr3238
	 UR3m3bvPDQPWmTocmMyiQ8te94JUDjelwh7LVr6Y+flTi1b+YW43RBAivp3Nl9rSoC/bw
	 Lk0iR93ExsbRtG1qB5nOQJezjxqK4ZRUt/7rEWNkG8uEVX2B231jX6f4UwBpztSLWmqf+
	 Qg6ceF5HhMZBONdttl8RW/I/n3NULrbLPDg8lB+M2+GalCKlebtbE8muDa0q5uA7ZcqNT
	 jK0Z9qX12R8tQ56Cqv/ASpdXQN8sT8AMKkyxnVMBebtWXsWZmeD70P5G2oX6Yq5Jb9w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793006847;
	h=DMARC-Filter:X-QQ-mid:X-QQ-Originating-IP:Received:X-QQ-SSF:
	 X-QQ-GoodBg:X-BIZMAIL-ID:EX-QQ-RecipientCnt:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To:X-QQ-SENDSIZE:Feedback-ID:X-QQ-XMAILINFO:X-QQ-XMRINFO:
	 X-QQ-RECHKSPAM;
	bh=UOjH/KZrJevJUFQC3mjbJKqPCVBhF0Dx/9N1xhVblbk=;
	b=JGTkT1HXuaSryQgsEA2f8MlaORdieuMUcjMaf00RGbFBvoZNZhBeAdZPCyrrREgZl/Dt
	 VMOK7g3uZGE+cuYU+hblKo8GsMUF34duAJzx6bD28Sqyysrj9afbjhuiCSnCNA2+0wHLs
	 Mjl+zqcqP6scQ4rKq+dAlQ7Tk5vIiE528PoJPUlhtQkST7myB0we/ybLJctrxJKxEd+/K
	 vr7MGSHqL+zb8HeK1w/YAblAmJGd/GmTdJJ2nHnj5koQ2Ukh1rfpBsRR3yLb9wcqRNb4V
	 miT+95UwDFifOadx/VGt8PfzA+M96p1dOnSpY9q+yglQOCifi+j+7Aik6ySWq31EIMw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=mucse.com;
	spf=pass smtp.mailfrom=mucse.com;
	arc=none smtp.remote-ip=54.92.39.34
X-Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34])
	(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27C03606A31D;
	Mon, 26 Oct 2026 09:27:22 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 27C03606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mucse.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mucse.com
X-QQ-mid: zesmtpsz9t1793006777t9d6df4ad
X-QQ-Originating-IP: h+ap49Kv0RfW/vllUVPU9/sQGgdKAP75oz8+M9g7oj0=
X-Received: from localhost ( [203.174.112.180])
	by bizesmtp.qq.com (ESMTP) with 
	id ; Mon, 26 Oct 2026 17:26:15 +0800 (CST)
X-QQ-SSF: 0000000000000000000000000000000
X-QQ-GoodBg: 0
X-BIZMAIL-ID: 10730358307232006467
X-EX-QQ-RecipientCnt: 10
X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, vadim.fedorenko@linux.dev,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	yaojun@mucse.com
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: <179300162296.3327.8577140950893281339@kernel.org>
X-QQ-SENDSIZE: 520
X-Feedback-ID: zesmtpsz:mucse.com:qybglogicsvrgz:qybglogicsvrgz3a-1
X-QQ-XMAILINFO: OTaQrRjuGKLtxOvFOOK7L+T3iiOch2ydc8sfENvqMAnF3LoslTUJeSMi
	8mNKcpgPJ+MAKtIDpkdAbf2apxk3ly5z4O6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