🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6662

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

#6662
From: Hangbin Liu
Date: Fri, 23 Oct 2026 03:15
22 lines
9098 bytes
On Fri, Oct 23, 2026 at 10:33:50AM +0800, Xia Yan wrote:
> 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.

I mean this doesn't seem related to the carrier on/off (LOWER_UP) issue.
Or did I miss something?

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

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-350889-linux-kernel-netdev=dewy.ru
From: hangbin.liu@linux.dev (Hangbin Liu)
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 11:15:15 +0800
Organization: Usenet Network
Message-ID: <atrRQzn2prYbF1vF@fedora>
References: <20261022085842.2527-1-yana06070@163.com>
 <20261022085842.2527-2-yana06070@163.com>
 <atq8yKbnqtLBVucH@fedora>
 <20261023023350.7225-1-yana06070@163.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="398127"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:sg01BQYLgkgcavZ4pB6ZS69Ve8k= sha256:zivcDie6xlLIJlJvEPDcdI8zgyC0ybMD79mcoTxjEY8=
	sha1:f/c1AsJBmw2JDcEndZmZp7LaATI= sha256:43CHdJGQsejOGszbwlgJFOehV3eJNGlvuuX01gIqJpo=
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 9FB191113CD; Fri, 23 Oct 2026 06:19:42 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 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.25,
	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=linux.dev
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 HaC-g55UR5Pb;
	Fri, 23 Oct 2026 06:19:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350889-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id DB28F110E3A; Fri, 23 Oct 2026 06:19:29 +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 A3D6230EFA; Fri, 23 Oct 2026 03:15:44 +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=1792725339;
	b=Jf9RtbayOkby6I2OcH4KZ4UJ46xLZLtNEJgUuAG1WsBVhpy2iMp9eWWuoKGBgbdPvPM/
	 ReyhTp9XuSC2vnpSdQk8xWGmCBQme2KhT3S/XEE+RbPEnzP06TZYOy47Q1JA/eQvIg4k9
	 xObPfBHeLYUebyuYpsB4yu1HRHlya8zhF9AcmHKgk/Yd3p/Ah+Jh0Pr5vEbnWsZMA2pK3
	 b83ldaJML0n59jrQJfXlT27WJXprSSu6afdofe4x8KTDzLjF3Xk+b5IS1nxry+xMLTOjE
	 zsZoMLdhABfoHE+hq2bfqYY1IVq3NzzqQ71xOJWlQ+baaQLP+OLy+ESO2lK4NlYcMCQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792725339;
	h=X-Original-To:Received:DMARC-Filter:X-Envelope-To:DKIM-Signature:
	 X-Envelope-To:Received:X-Mizu-Trace-ID:X-Migadu-Flow: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=zVAKIg7XqiPBVNuocH1Hoh+zfouG9OOWB6QRApYQMW8=;
	b=otJBfTpAGp8QoiuVwNxg1OeuCS33JGefg7a4f7UhbdqF6bPnLARR/EKuvSaBk8lbVQMF
	 VezM3ovIS/dB3aC95yqA3ShtKDeDWSsW1WnLe69Snk3L0iPQF0Dp49Nu20FdToHWTLg20
	 ohtrpo+P6/WsyTEeGLt8JDatOt10ZTH/zt/m8GD6PKdsCeu6RlWyGFfmgTcGUZuVStQ3t
	 Hpixvum5sMz34nZknDBq/aO89UDNeiubPw++UUvBOGTx4AE6NIIMxD8JSTddH9k84VT2j
	 f0E87X7W0vN5sl87gd8JXIZuUG9TqJlRVlLzgLGgEVP94+VfqTnQXfr/303j9I+pfNA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b="uSSb/ZMG";
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	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 22A79606A319;
	Fri, 23 Oct 2026 03:15:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=uSSb/ZMG
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.135
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792725333;
	b=rd2ZFr9fKrUaItDxd98iqv7nkQa213612sdpkYh0EZd1q2QCHoj5RAi1TSQrCzlUulu9
	 JXshtj9AZCLanfIEF5mdk/VtWdrxmJfbdMhAmwo/bTbqAP4D3SBzGoPNl+uGJZSIlZOZx
	 awYxejnL+xypQP+xDoFX4z6XwavZX/RIbIbJ8qjr35zQzAV8p3bO+Ob64AJd8rXmhU9kt
	 gXbe1s6RUz+i7sq/8Kt8Z6SnPzXR3NXyehUKcw3gb0B5TGUGCGen+Du9TFXPSeg0bV27u
	 AJWxD94YQfzgOraSSThPF/FU84sknkjI2Qv4vH4Lnh6P3jjqnWTJr3pMAT1Fwk+D9Wg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792725333;
	h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received:
	 X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=zVAKIg7XqiPBVNuocH1Hoh+zfouG9OOWB6QRApYQMW8=;
	b=A/J8qiGaL0CR+SihXpD7cLSluIGi5ZuxqKYeNMUU/l8DdQ48sk1fsRAXies5+S83agdL
	 fK3SkrBpocAcekQJF+Koa1ftfeZ44LiVtDYFJQI232vSHzvTXlYr9BZ+rLMcKECUOucbT
	 Hs1ruLUxGAb2qKvtRcYVg5TwF1fTt886aq7wee/YMZnjH372BVP4+fN/bFIEVnYnTG8WV
	 mA2UpLM8Azrb+lATVzp4deDv9TmRJlOBzrXRiMnKhDJ+S9/BxWpQs1ArSySyI9oF/ix5I
	 HAs585MTjq/RMx3xao85z47lTGm3BYL1OQOqSTQIm+TYCpD5rnlyfmmmEmNOfu1KdRA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b="uSSb/ZMG";
	arc=none smtp.remote-ip=91.218.175.135
X-Received: from mta0.migadu.com (out-135.mta0.migadu.com [91.218.175.135])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DED6606A31B
	for <netdev@vger.kernel.org>; Fri, 23 Oct 2026 03:15:32 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7DED6606A31B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev
X-Envelope-To: netdev@vger.kernel.org
X-DKIM-Signature: a=rsa-sha256; bh=/Zq1baKOLuThcBsVDU3+UzpzigXWioU0C5AmZNp+Tio=;
 c=simple/simple; d=linux.dev;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1792725330; v=1; x=1793330130;
 b=uSSb/ZMGsbNrgeAUaaRKb5W9WcaCySULnJRVa87p12wsAqBHGvEeSbxkwabxqxTvkf4Z1918
 O4YwYGeoQUsMBlsGeWlpgfjCYOBmedfzQkOgaa2o2OVLNBLFd7nQoDf8f0jEgpbYkN3Cckfhev6
 gPUzbx2ivbFijSEWdRsYyuRQ=
X-Envelope-To: netdev@vger.kernel.org
X-Received: by mta11.migadu.com with ESMTPS id 2050942c7c50d671;
	Fri, 23 Oct 2026 03:15:26 +0000
X-Mizu-Trace-ID: 2050942c7c50d671
X-Migadu-Flow: FLOW_OUT
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
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: <20261023023350.7225-1-yana06070@163.com>