๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22185

Re: [PATCH net v4 3/4] igb: link queues to NAPIs under RTNL after runtime resume

#22185
From: Antonio Quartulli
Date: Tue, 24 Nov 2026 23:56
38 lines
10489 bytes

On 24/11/2026 22:38, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
> 
> Critical: 0 ยท High: 0 ยท Medium: 1 (1) ยท Low: 0
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [Medium] igb_rtnl_resume_task() now calls igb_link_queue_napis(), which
>    reads adapter->num_q_vectors and dereferences adapter->q_vector[i]โ€ฆ
> 

Right, nothing cancelled the work item on suspend. v5 cancels it at the
start of __igb_shutdown(), before taking RTNL, so it only runs after
the resume that scheduled it allocated the q_vectors.

> Pre-existing issues:
> - [Medium] This problem wasn't introduced by this patch, but igc has the
>    same bug.

yes, an igc fix is planned and will be sent separately once it has
been tested on igc hardware.

Regards,

-- 
Antonio Quartulli

CEO and Co-Founder
Mandelbit Srl
https://www.mandelbit.com
Technical Details
Message-ID: <d678b277-6b66-4d97-8745-23cb0adeeccd@mandelbit.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370878-linux-kernel-netdev=dewy.ru
References: <20261120210134.133238-4-antonio@mandelbit.com> <179555632542.3135.3194340362837900458@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370878-linux-kernel-netdev=dewy.ru
From: antonio@mandelbit.com (Antonio Quartulli)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v4 3/4] igb: link queues to NAPIs under RTNL after
 runtime resume
Date: Wed, 25 Nov 2026 00:56:45 +0100
Organization: Usenet Network
Message-ID: <d678b277-6b66-4d97-8745-23cb0adeeccd@mandelbit.com>
References: <20261120210134.133238-4-antonio@mandelbit.com>
 <179555632542.3135.3194340362837900458@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="67426"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:RTJRgTjiQycnVS8+cxNyEPhstHw= sha256:1YmjZoBq9aoy+RIqyN/tZpVrQhyOQznXVwOi8fGSIK0=
	sha1:EzHJzkekk2rM5Mg9PgHw1ceScKs= sha256:HW2CPCxBJ62Qwa5unBPiSdsTbXd7IXSoHUc2VFjyknw=
Content-Language: en-US
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 B2AB2125E33; Wed, 25 Nov 2026 02:57:21 +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 (2048-bit key)
	header.d=mandelbit.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 0W6sLUWcHhyE;
	Wed, 25 Nov 2026 02:57:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-370878-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mandelbit.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 6EBC2125E37; Wed, 25 Nov 2026 02:57:09 +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 AA3C733BB1; Tue, 24 Nov 2026 23:56:59 +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=1795564617;
	b=RkOhD0qgVhWYG1ut6P9i+U/BP3i7qzvkMrRrEfU4pMuOJJ7GjENUVJvpRsXi5SxB0w3S
	 Ad18GXH1vhYV5nAYhrrOwQxkyUO4cAcH0k/+pwlPUg+OYXz5rG1XKrza9dXxUfwq6CEYw
	 x7LuWoQh0u3vBduFBgRGMkGwm8crqAfk8SmR8ddlnoselSSGHSczygDIXsBh4Lz6IGRX3
	 GRGgUd2YXIWYYNBl0ic9spw3duiGRTXyVQKwWWJRt4OpI1vhoMI40ANSQ5xRrTfVxXBfR
	 /p/NCpweX4ytDmbVjeS4UKv0mAhoZQgx96kcf1+EFcXgU+cU064Udv+uKyH994VBKlg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795564617;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:
	 Organization:In-Reply-To:Content-Type:Content-Transfer-Encoding:
	 X-Rspamd-Queue-Id;
	bh=Fz54SJ7qTGehb3UMp48cf/gfuNfCrF/Glse4fK+TDq4=;
	b=slKtBVwvNIeqdp30cgiXzPRcZi90upc+AFkMXQ52eblyYKRtzhR04O9IRruZhEfX2NS4
	 iODN/Meh10enBH4Wh70uBQY7/lfLZ8b+PZhc0zz7Az3LxOl6lPD5Y1OpCrCZiAX6XrRY1
	 0QKIVYkQBzqVzGcII8qGolI9YvuBIwSX8VyDzvYmlH+ZxkYMrkcUfY/03ookn4TL9aWCT
	 I0Q+06lggqTWy8xLRT2oL/oAVvc1aWAMsirWYcwZGeBJn3bq5QE9en0Xu3yrsxNWJHl1/
	 eugTsqRoQnrMh6yndF8vOQe7i4+AVH8+/dYLwLXRCDsBX8LgD/1544vjMghN3Qdbaog==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=dyfKhMnl;
	dmarc=none header.from=mandelbit.com;
	spf=pass smtp.mailfrom=mandelbit.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 1E26E606A33D;
	Tue, 24 Nov 2026 23:56:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=dyfKhMnl
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=195.10.208.52
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795564611;
	b=4/o+qqiWLUTJZBQg3aDZ9fsXuJo4HfIwpq7XqLMb3R8iAz9dfFNkzzTMX5MsKPY4KYdd
	 a4F50OWVEKZ2sdKRFoTHk5DTlkCd2QD+ysqt2f5cPNrRt+KQktjooRlwtsefcjJphbNf5
	 +uBy33Blhaur2bYWAYHLntvKihTo+KkCcWOUtZW4XAvbNp5HQdZSPgrXzW0t7kv9CJMh3
	 x5W2rnNACOJwCxMvYbXDipD3YvlCPUjR0Y3Lco3tDwOiyxiAB16srgj5cZ3ns1Xq8LeOD
	 cmd6SNOIvWU1RFPfV1yxSsy/KbrGlDzbo6TRi8vVksc57AYu8z+BfbtsUJl7w4wTLPw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795564611;
	h=DMARC-Filter:Received:DKIM-Signature:Message-ID:Date:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:
	 Organization:In-Reply-To:Content-Type:Content-Transfer-Encoding:
	 X-Rspamd-Queue-Id;
	bh=Fz54SJ7qTGehb3UMp48cf/gfuNfCrF/Glse4fK+TDq4=;
	b=K8QMOzGHmnkLzoCCR/TTwN+t8ky+7M3bGOKxkLRxb5VCJM31Fpu7NE5uMWLeAob2w0Bz
	 RMj0iiWhLsU9InIQCsruDcR3hTjt8+SDIxL8pL57Gh4Kou7JC/sUgTj5ir812UykpcbtT
	 NfzNhA8xEEK3s6m156rk3XBIY//F/flOFkwxlpdmw3UAVxOBXx1weQUXl0tXpd6PJUyyo
	 NoW4rgb2/M2vp0i573GYcdF7Xr3zx4qG4/2jiTBTlT2F/7MEE4DKBkflcnPxMpYBBoCQD
	 aOa8OjjGuAK9eNVBQgoxAmaUFFP2dT1syc0wyfTu7OkU0DUY7wlOpwCp0cohZV/1Y7A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=mandelbit.com;
	spf=pass smtp.mailfrom=mandelbit.com;
	dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=dyfKhMnl;
	arc=none smtp.remote-ip=195.10.208.52
X-Received: from mout-b-203.mailbox.org (mout-b-203.mailbox.org [195.10.208.52])
	(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 87A2D606A31E;
	Tue, 24 Nov 2026 23:56:50 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 87A2D606A31E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mandelbit.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mandelbit.com
X-Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA512)
	(No client certificate requested)
	by mout-b-203.mailbox.org (Postfix) with ESMTPS id 4jZ08Z5HxyzLmXR;
	Wed, 25 Nov 2026 00:56:46 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandelbit.com;
	s=MBO0001; t=1795564606;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=Fz54SJ7qTGehb3UMp48cf/gfuNfCrF/Glse4fK+TDq4=;
	b=dyfKhMnl1ebbu15g20KDJk4eozwr11QnWM0LeNvIcuDD1o4AkY+BXVKr45lKeoWHGgo2db
	SStWtL3xsrPPsQHKpDaJIQVuBDsRZrbSwVQne9QA51d7xLemsNmyvrqj3UcRsjhRH0e+ym
	UvJJcxOsfzdlZLKoPIg2DCLW5yM3gmcHOHxvIZWaT/ICZ0ubwncW1t1tjQjtsJJ7CXbss3
	EcFJ6ZH7Iv+BmL+wQyXS+qBm057q9ZpKEFzdGhu/9A6+Q+XIiOXV+/DBCbKSaWxhxyLPbn
	kyvO1O/sstj6xD6JI5X4g46/8gyOzuq5X1bsMnzhnSgl/wsEG4woel5YwvBu8w==
X-Authentication-Results: outgoing_mbo_mout;
	dkim=none;
	spf=pass (outgoing_mbo_mout: domain of antonio@mandelbit.com designates 2001:67c:2050:b231:465::102 as permitted sender) smtp.mailfrom=antonio@mandelbit.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-User-Agent: Mozilla Thunderbird
X-Cc: intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,
 przemyslaw.kitszel@intel.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 janislacis06@gmail.com, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, stable@vger.kernel.org
X-Organization: Mandelbit SRL
X-In-Reply-To: <179555632542.3135.3194340362837900458@kernel.org>
X-Rspamd-Queue-Id: 4jZ08Z5HxyzLmXR