🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19425

Re: [PATCH net-next 6/6] eth: bnxt_en: restart Rx queues when their IRQ moves to another NUMA node

#19425
From: Jakub Kicinski
Date: Thu, 19 Nov 2026 22:30
17 lines
8556 bytes
On Wed, 18 Nov 2026 17:24:12 -0800 Michael Chan wrote:
> queue restart already has the code to do HWRM_RING_FREE of the CP ring
> to program the new TPH tag.  We can add the missing logic to
> re-allocate the CP ring pages from the proper NUMA.  Since we are
> paying the heavy price for a ring restart, should we include the CP
> ring to make it more complete?

I coded this up. AI review thing popped up the problem that
re-allocating CP rings causes loss of IRQ moderation settings. 
This seems net-worthy to me :S  Attaching a memory provider 
on a machine with TPH will lead to loss of coalescing settings.
Quite unpleasant for the -irq settings in particular.

Can I send out the coal fixes for net and this series without 
the CP realloc? I'd follow up with the CP realloc after the
net->net-next merge which we just missed :(
Technical Details
Message-ID: <20261119143027.6d8ca735@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367384-linux-kernel-netdev=dewy.ru
References: <20261118023905.3050661-1-kuba@kernel.org> <20261118023905.3050661-7-kuba@kernel.org> <CACKFLi=Zi7QBd1oNt-d99S5e6PfJ_Ym-p_-+k+iFHSU5zCi+Mw@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367384-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 6/6] eth: bnxt_en: restart Rx queues when their IRQ moves to another NUMA node
Date: Thu, 19 Nov 2026 14:30:27 -0800
Organization: Usenet Network
Message-ID: <20261119143027.6d8ca735@kernel.org>
References: <20261118023905.3050661-1-kuba@kernel.org> <20261118023905.3050661-7-kuba@kernel.org> <CACKFLi=Zi7QBd1oNt-d99S5e6PfJ_Ym-p_-+k+iFHSU5zCi+Mw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network; logging-data="2998130"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:kNjBcja7HD7pmRucj5WrDTbfFEU= sha256:klwYtyxtlEKEtwhXqV6fqTz6g2PKZMsuhy4MkDSVXJA= sha1:BfPM11of/YjW6AcMbsWgM04GHQ0= sha256:QjQT0gbgikh2A2mHqMg3vHhHVqvMING4h8bSVyOVj7c=
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 7AD9F1157CE; Fri, 20 Nov 2026 01:30:43 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=kernel.org
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 kYuERWoCMZpF; Fri, 20 Nov 2026 01:30:40 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-367384-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 44164115737; Fri, 20 Nov 2026 01:30:31 +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 5406B26245B; Thu, 19 Nov 2026 22:30:30 +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=1795127430; b=yvVcSQ4c8uF4sPUBzQbiwYT2PKxKgCEAJnnHXRcCwzBBQHv5QMnZHkNu7YWAq93Pqk/H 7aqMIG3tabIyme7ZL6nOn7ek93N34faLDRo/FKZtRa4nT4/JJftTq3QhhiLElxlfBMR4s ifaBiMbDxzGVhCG4Jo/AIalISlCEPKkCI53N3LmOOEDvbtDiNDkVUOU69F8mnzM5OpTFr njXcRJxnTNZGHEHp1yu9B4JGSERjhAcUm4HDYZ5Bm5xm8kkrLOPvN93eQ7hINu8byosQV JKAACZVYWUbRvbvpoc/qCAGWHiYBi77x2S2RQ6TpK4j6UanMZDar5F2MtHuOmNX/N1Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795127430; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID: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; bh=Z1dTghTaKtz+6XlsUqAv2sd97175TAUzyOoX368JJ0c=; b=gWUzchgPqEr7OxzSbxLxG2oPYmiBlbKNtUmPBRFL2p40ZCaz68XvFbpy9iKduGymtJyp t7HsxwXrCJRIShHTHQ5WjozE4uqZd+jXTsXAwlXEyacbp3oOqHDeQUfeTY4Bt1H96M5RO XBKYQCUW4CJLe6JuDIi5eGkCfs7MeqCkApfb9S+o+QaGBdqlN+tF1aT0UEHh4RISAsBc6 DrI6ZpSk2JW1c0AT/GEkuVOvJYMaJh32S2/UwK3CiB9sqnmYgaZkP3/677uPUc/snjGxU vy18mZ+hV7tSIdjyt0kLuS4VEa2U3OJdZ8htldtH17vtIAUtB34hceeZlKwf4aGUERA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=iTYVSRqu; 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 2B94D606A331; Thu, 19 Nov 2026 22:30:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=iTYVSRqu
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795127429; b=Nd1aQ13cmX2pNgGAd49PbBH8AfhrWaNGgofdBjC9lU5qZkFzP+iusZsnv2hW5aqpacgN BU8meWUeWDOZ54nNWt14LTFt6w4HD24e9VjOOBDgQ4PCz2obZEiYFPzeoGGRAfAl5h7DW NRpFktZTG4AnbuHx84wTOFrVciEMlA/Yc0VLFC+aqO4KNabbhf3aV3LRyJDkB4GTV98P7 N2TM0vjPTn5U5lEJ1zcmpX508e1u+G6DZZayHWkQ6WEyGDP7UZQytX7hlAXZlWgdwozHJ htlNp7oqQ4IeUweROz+LBSN/qP2FL0uX5tWagkl4kkmSESh9+y+x4F5C0C/T3QDUImQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795127429; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=Z1dTghTaKtz+6XlsUqAv2sd97175TAUzyOoX368JJ0c=; b=kwTwFpKMJQT8zIy9WLsbJYD7x4CHRKXs6keEL5/TNsMrNar+wX6vIQZiZz/Z7EP7S54I zV7Pr7NR66O7cwpUjZUZVrmyc56sEFou2iaRDjurczMaSMS5X9OY42NjBGWYiVMEObpn/ DNpoIi/1ByA7Q7ZHAZRqyoY9tHEFJJo7zOtmfAPLD5s4NfejlK4bJ34P7/MwBiPw8R4pv ykUGKwm19yD/1ZMiK9aeAk3jH7UrKEUlYLmSuI1WsJA5zNk7OKzZyVKvbGK4XZ7vXVjvR RJ1q21K/a8Q+c2APLG7xj0zeiUmzSmZNe9/w7amto6JLsCxXXDZLnVlgiw96GFlhL8A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=iTYVSRqu; arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AC5D606A320 for <netdev@vger.kernel.org>; Thu, 19 Nov 2026 22:30:29 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A13F11F000C0; Thu, 19 Nov 2026 22:30:28 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795127428; bh=Z1dTghTaKtz+6XlsUqAv2sd97175TAUzyOoX368JJ0c=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=iTYVSRqu5EeNmI5Knm9QQnCRzjBZp7JUhdRnBegEMRQFk0cR/YxFCRGMJZCIL2Bok /RVLjzfCvnywHoDruNrWXWP/k9BoRlnOWiKKjHaZvbK8f1h+OoC+QDWml8oD2z144H 7L4v1+HX1FU9COI9DVEDAcKctOR26DRYubmWJHY/0WyXHb334j8U+hTIineuXHC5EU 0xs7egjxj29aqHEnVNpKKTdziKQ6ZgvXhN7uW4n8PGSnVx6wj/9ci4Y5nMAsHgZsJ3 KJ9MT5hx5HItWORH4prqTLr5qaOHhY2wxmYyHBL+r7qq1aJuJgWFgWlOx9ZQE7p4Q9 C3xI5GE76aWkQ==
X-Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org, pavan.chebbi@broadcom.com
X-In-Reply-To: <CACKFLi=Zi7QBd1oNt-d99S5e6PfJ_Ym-p_-+k+iFHSU5zCi+Mw@mail.gmail.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