🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6651

Re: [PATCH net v3 2/2] selftests: net: check veth carrier after changing channel counts

#6651
From: Xia Yan
Date: Fri, 23 Oct 2026 02:33
18 lines
9106 bytes
Hi Hangbin,

Thanks for reproducing the issue and reviewing the driver fix.

> Why do you do gro setting in rx/tx set ups?

I included GRO off/on to cover both queue reconfiguration paths.
No XDP program is attached in these cases. With GRO on,
veth_enable_range_safe() and veth_disable_range_safe() set up or tear
down per-RX-queue NAPI instances as the RX queue count changes. With
GRO off, those helpers do not need to reconfigure NAPI.

The carrier bug reproduces in both configurations, so the test checks
the same carrier state with and without the NAPI resource changes.

Best regards,
Xia Yan
Technical Details
Message-ID: <20261023023350.7225-1-yana06070@163.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350877-linux-kernel-netdev=dewy.ru
References: <20261022085842.2527-1-yana06070@163.com> <20261022085842.2527-2-yana06070@163.com> <atq8yKbnqtLBVucH@fedora>

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-350877-linux-kernel-netdev=dewy.ru
From: yana06070@163.com (Xia Yan)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3 2/2] selftests: net: check veth carrier after changing channel counts
Date: Fri, 23 Oct 2026 10:33:50 +0800
Organization: Usenet Network
Message-ID: <20261023023350.7225-1-yana06070@163.com>
References: <20261022085842.2527-1-yana06070@163.com> <20261022085842.2527-2-yana06070@163.com> <atq8yKbnqtLBVucH@fedora>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="392333"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:AdLyH+MHRB95crXljLf4TLyliZU= sha256:wc4OxuzjsNuyXWxoLHLaptvrWwDoj2yFfFaZmUy6x+Y=
	sha1:WjB6J1mFOX0cYX2f65M6k+VbcBY= sha256:NLWIlYx8jTSdhjoXZGlp/dE2uld+eweheXa3jbHGV5g=
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 886E91113C1; Fri, 23 Oct 2026 05:36:00 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.047
X-Spam-Status: No, score=-3.047 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, 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, UNPARSEABLE_RELAY=0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=163.com
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 KyrbfPqQzftM;
	Fri, 23 Oct 2026 05:35: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-350877-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=163.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 58EA11113B4; Fri, 23 Oct 2026 05:35:43 +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 8220A374D8; Fri, 23 Oct 2026 02:34:56 +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=1792722896;
	b=KEx3dyxcwB13JCMHO+yWP4tf0ikiC35emdrLH8dbVw3/oWbPlqAupOcUCv+A7A65EEie
	 NkRSM1FiuPn/gCs6auT6KtDQOKD8uDZSHD9XNv9u+FxSvApoI928UB20gPH9SOVJNqHh9
	 UzqESk1tDzAgfOcsj5LKmy0gHXIqn6wVGbWAi++SLrXCABShHUOaBI2AhfEdX67rq5nFG
	 7i3kTpSvBGXxrth3AH35AU6SpEMPRr+YbPw9Uib/H90ydXyp4dQCtVqxiZU1t3VpFghTX
	 J98t15caNm+GFeoL3XnlQPrdsSeUqUk9+K17/qbvetJiZE+m9xWYyJvbNeGyZ2t5e/w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792722896;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To:
	 Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Transfer-Encoding:X-CM-TRANSID:X-Coremail-Antispam:
	 X-CM-SenderInfo;
	bh=ENGSe2m1CO3BcyFxhjvqrceXTPMgR8/aby+eduOc4F4=;
	b=WNp/ZXe+2c/xr+w0SdBjpxRWnMq49whX1WsEK8txL1NK9sO5sg0xJGZP7sJHz6X8A7co
	 TipS7mpfDu/k7eD7EYJFnymejgYlFHZLZwW215rs2R3Ng5vLUVnn1QmY/8xzCSkYItBHN
	 wdZrM7P0rHfXF/U4e5DrELDSBUg1B2g2N4bdPUxpIESXTIxyPTAHJZh9F7iCHvucUQKAK
	 AfI8+2DCG3F/aK44kRCpWhzMg3cSjqCXYmM6a7W1FBJiiVgHWJjuMun5a75+qJNRq8n+O
	 FuqIAaf5u4JsozclnRDUITj1+RFmWELuB6PAAZplnY8kiclGuXUpI67hz3qX7tgtWbg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=d9zqeTzL;
	dmarc=pass header.from=163.com;
	spf=pass smtp.mailfrom=163.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 58C7A606A31F;
	Fri, 23 Oct 2026 02:34:56 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=d9zqeTzL
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=117.135.210.4
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792722880;
	b=UNXkf01TfrQIdWFjTMfvO9JohcPxDL2O4gttmAf3y0MMSlbiGPUfPIrtRisT/RMUwIQu
	 N7htVqG99yvjQdQ3h6CAcklgUW9jKlLwxx/C8YU+IOnKzfR1IrPILlZtIqiJh7XSYAo3X
	 edY50ZLu7+/jaD95BU9wEF68gEAIbbuQxw7nDKm1K7qD5zpXxvftA3uYBFRYwMsrgr9xj
	 pATiDsvHVaWvR17/a2LvsZi53yHEoEyt5M+T5e4qDne3KvkYB0KJz4kkRMxLPSYcF4nxM
	 dgyaH151H3k0VbHrmfqMs5/Dl/02E9D7lqIEOGiuUiRg0l/kGiDiX+G7tLXaOfGU6BA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792722880;
	h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date:
	 Message-Id:X-Mailer:In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding:X-CM-TRANSID:X-Coremail-Antispam:
	 X-CM-SenderInfo;
	bh=ENGSe2m1CO3BcyFxhjvqrceXTPMgR8/aby+eduOc4F4=;
	b=0GxEoNNIlbk1KOX8lIFKldNNf/2R+IszvYWHG/xZf0E+QuRC2OQaQOQSq//0uZTk3s+g
	 k3UPJDUGNrlGAA2XTLxcbsA1FsHg1jK2EiJVRlsWovGF7YcobxKP4ZpFzUJVOVfFJaDSO
	 8gVbQlrcmEFt+KC682kyKd/wkJSbqDdTQZ6AIzQflpZPtZW/boR1QgeuoS6KNz7oNmtHC
	 ZfTRryWtJWDEzhzx8pnIxr+tpCKFdanrGb3TMCSzdDxpsZWwnvS+MTDT8Du94DGWeOPjY
	 Ibu5b1aiani0V5MpJdNpMwRROOL+s7bDyXfUaohCpC1eZJvN7mi8EOwmHlPi2fKacfg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=163.com;
	spf=pass smtp.mailfrom=163.com;
	dkim=pass header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=d9zqeTzL;
	arc=none smtp.remote-ip=117.135.210.4
X-Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82FFA606A320;
	Fri, 23 Oct 2026 02:34:36 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 82FFA606A320
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;
	s=s110527; h=From:To:Subject:Date:Message-Id:MIME-Version:
	Content-Type; bh=ENGSe2m1CO3BcyFxhjvqrceXTPMgR8/aby+eduOc4F4=;
	b=d9zqeTzLWKLCdpziA1Fl16+QTyfqBF1TRksLDGJiZUeqTynAJpdXGkbfBrdRS5
	9ObVPNcUt1sl5EsUX/n1VxeVkI0mZPgoqwztEYpu+x5dwx26GqQSB4a9B2W58qke
	m6VxS4c1bxwZY7sUmK3SarwbWs8WGxseZR2byw0HeWVRk=
X-Received: from localhost.localdomain (unknown [])
	by gzga-smtp-mtada-g0-2 (Coremail) with SMTP id _____wD3nyiZx9pqdsx3CA--.42253S2;
	Fri, 23 Oct 2026 10:34:02 +0800 (CST)
X-Cc: netdev@vger.kernel.org,
	andrew+netdev@lunn.ch,
	davem@davemloft.net,
	edumazet@kernel.org,
	horms@kernel.org,
	kuba@kernel.org,
	linux-kernel@vger.kernel.org,
	linux-kselftest@vger.kernel.org,
	pabeni@redhat.com,
	shuah@kernel.org,
	yana06070@163.com
X-Mailer: git-send-email 2.33.0
X-In-Reply-To: <atq8yKbnqtLBVucH@fedora>
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-CM-TRANSID: _____wD3nyiZx9pqdsx3CA--.42253S2
X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73
	VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjTRNb18UUUUU
X-CM-SenderInfo: p1dqtiawqxiqqrwthudrp/xtbC+xpp72rax5r0+QAA3H