Article View: linux.kernel.netdev
Article #18570Re: [PATCH net-next 4/6] eth: bnxt_en: explicitly keep device-only memory on the device's node
From: Joe Damato
Date: Wed, 18 Nov 2026 14:50
Date: Wed, 18 Nov 2026 14:50
18 lines
12046 bytes
12046 bytes
On Tue, Nov 17, 2026 at 06:39:03PM -0800, Jakub Kicinski wrote: > Context memory (and the FW crash dump buffer which reuses the same > helpers) is used by the device, once set up the host only touches it > on the slow path (diagnostics, FW trace). Pass the device's node to > bnxt_alloc_ring() rather than NUMA_NO_NODE to make it clear that this > memory is not meant to follow any queue. > > Ring page tables are only read by the device, annotate their > allocation so that they stay put once the ring pages start following > the queue. > > Signed-off-by: Jakub Kicinski <kuba@kernel.org> > --- > drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Joe Damato <joe@dama.to>
Technical Details
Message-ID:
<av27Jl2SSzj5AbXG@devvm20253.cco0.facebook.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366199-linux-kernel-netdev=dewy.ruReferences:
<20261118023905.3050661-1-kuba@kernel.org> <20261118023905.3050661-5-kuba@kernel.org>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!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366199-linux-kernel-netdev=dewy.ru
From: joe@dama.to (Joe Damato)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 4/6] eth: bnxt_en: explicitly keep device-only
memory on the device's node
Date: Wed, 18 Nov 2026 06:50:14 -0800
Organization: Usenet Network
Message-ID: <av27Jl2SSzj5AbXG@devvm20253.cco0.facebook.com>
References: <20261118023905.3050661-1-kuba@kernel.org>
<20261118023905.3050661-5-kuba@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
logging-data="2621023"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Oue1fgMAktRPkexhe1/SscsIn+8= sha256:5cvxGB1UZBykGCPw82kF3qCJ64HUPKU5/Ka8B21LL9c=
sha1:7IWQ53ukG/yz5nQoFduw9ntCWeQ= sha256:von+J5x3YjktG/ouz9/jXJ/ACo9rSnyOgWBrbEC/lMg=
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 EE6C41152DD; Wed, 18 Nov 2026 17:50:33 +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=[DKIM_SIGNED=0.1, DKIM_VALID=-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=dama-to.20260707.gappssmtp.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 uD-uzYL9TG18;
Wed, 18 Nov 2026 17:50:30 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-366199-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=dama.to
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 031051152DB; Wed, 18 Nov 2026 17:50:20 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id B6BA5610B39; Wed, 18 Nov 2026 14:50:19 +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=1795013417;
b=PlF/R/E4GEfU+62YnDsyOhER1iEmo5SO/kp5GK5vaSRLkEWXLbNtjFUK58wBNTQwYrnF
1sPMyN7/ZHdGE1AdRJ5GXVKLtRnoo5kcQK104Tyfl09QRL7P1XEKZaOrfHOt552InJIRO
Ga86swD/DvmXkyxfPPwq3FXovAdHJylIHj79+TRhimA3epIIeE9b5NFO8PG4kROk54Dch
YsIG/yML7Breg7W5TUQcef3Ga2Ak90MiDwPrW0wMLaNmOATNWdHh8SBxKLsGPMZaYgCv3
uKooGJXL+AsqcmPAnNy2FqlW3cQ2AeebGuHblZZmsJ4Vsf1EW4wnT4APfZbXPi0LNow==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795013417;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Date:From:To:Cc:Subject:Message-ID:
Mail-Followup-To: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=IrwOc17sZXoFCT3tkPfgb8s0Vk7AkFpm4r/CP425i9c=;
b=EcX5OqVS+bg6TBGJIJQezXm3JyyKidJIRl9DthUJYIpMtKkr/x1Zq0SE9nZunAtVgkgT
rKQQUDMKPHcxL/77TzWNw5GGa1+QaNQfwDevRx3NXeZSjEByYv64LKbbUUcj1PifPY+wa
U/0KPa2/VfRfFGuuXYpSDoQQKEfIIUgsM2+QMCeC2iNLWMt4+VxyvbcMVWt6fZXJc9B/d
x71SS87h9PkAk6Qi+QRSOjbruh7obi/ywsik3msozRAsQ8qyPQ+5tTyBBanmfN/dQ+1cV
jRCf7ndcIkM5d44olomvrSP2xQd4B1zJJQP8ua7dYLphKxczy0jBGJEi8Qm4G5sLv/A==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=dama-to.20260707.gappssmtp.com header.i=@dama-to.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=f3+aSODh;
dmarc=none header.from=dama.to;
spf=none smtp.mailfrom=dama.to;
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 86DAC606A330;
Wed, 18 Nov 2026 14:50:17 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=dama-to.20260707.gappssmtp.com header.i=@dama-to.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=f3+aSODh
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.215.169
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795013416;
b=oCtiDiBIEq7cGplhuW22TckHjakwBXjc/vcgEkjP2c13DzrDKrpP2ZzXvDzOAYLkJaxN
JgmjEFzzmuaSdwBrRbJIVLj5Fxcf6/xG8vAcKvlLymhMFDLDeFkQmSxK9sHfnuTgPSS60
p+mBsdWpKSYyTsE31tXC0UxtuQXrDe+0q+/s6pMhWWZNaEDcCN6gaOkJp30qR7+K9sAqp
MrmnavfeNVkNfOF/XV8i3pRfw46+n/k91ykSERnT9/1uET3TyEM4b+SS4wBwds4UGDC/A
ma1noyfsuofAZ7AtMzm2/wcnU0vxFs3xndyADNOdhExEzX4ptboJIOWhGNdCKXIje5w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795013416;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:
MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
bh=IrwOc17sZXoFCT3tkPfgb8s0Vk7AkFpm4r/CP425i9c=;
b=MW/ROxfe7uK2CxWW+7PDBxuRUyTN8ovzDS7ZDWkifGmEJQl0JBdxdMVDz8Xaa9uJCXtm
ot1focM9xDT1PEiyy8h+W2JOMwkHP4cqI3YGh9KcS/kgACx2pIzoeOSoM3L84bepZtIxI
su50iG3rVFGG8HqvyEnyPZvS3vYI00GzXJ76uidjY9Z4Fja4PyR5XMlkYfP123SuTKujJ
fJwbVwTvJnuzcQOe1u3aiirEwapcR0fKicNEdYjrzfAtUVIgjAZsvteo/6At9ucwpGI5K
8TmDUpi56xmRfsUtWylNlMf7Kxk5rPFxZrSJmt/0TvAtQKx9qEAuNNv3MKiqyGCWN8w==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=dama.to;
spf=none smtp.mailfrom=dama.to;
dkim=pass header.d=dama-to.20260707.gappssmtp.com header.i=@dama-to.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=f3+aSODh;
arc=none smtp.remote-ip=209.85.215.169
X-Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169])
(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 5415B606A31C
for <netdev@vger.kernel.org>; Wed, 18 Nov 2026 14:50:16 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5415B606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dama.to
X-Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=dama.to
X-Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-cdba1bbde0bso521033a12.2
for <netdev@vger.kernel.org>; Wed, 18 Nov 2026 06:50:16 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=dama-to.20260707.gappssmtp.com; s=20260707; t=1795013416; x=1795618216; darn=vger.kernel.org;
h=in-reply-to:content-disposition:content-type:mime-version
:references:mail-followup-to:message-id:subject:cc:to:from:date:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=IrwOc17sZXoFCT3tkPfgb8s0Vk7AkFpm4r/CP425i9c=;
b=f3+aSODhOw2PpRKTgH2Sqv8CDrByoSyNJztnN0Uy/r0hkWHi+zJ/GWTEGOjgSvcevf
zB/JBkQqgzzDNZ/wFTB7nVcoFcGq8zV9RGR55bDHc+U6osha4UJhIJ8aqfBeReHtw58n
xpg0HFWiRzPt2Hm8tm3ds0kl5D0nUbpzNLlkxAKfmHcQEOxPiQo+rUSRv5cAZP5STB0y
ndst44xHWXscP7loa4A9Zl7neCQigzqh4nAv4CyZtzGvBK6cr+H4eXA88OLndeTWm8pp
N5tV3igcWQg7VP/JqG/D9y9/QxWPkWmmI1LHy/MfSMzyufT8/A3F+in8LUaNqHSZ+0Yp
VHuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1795013416; x=1795618216;
h=in-reply-to:content-disposition:content-type:mime-version
:references:mail-followup-to:message-id:subject:cc:to:from:date
:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to:content-type;
bh=IrwOc17sZXoFCT3tkPfgb8s0Vk7AkFpm4r/CP425i9c=;
b=lTses1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zXlQNvFBQSPebBiIqYZkqtuQEUd6KRq6szHQTx40WouToqaUA1/ECYm7Zyz
tsw/Qp1G/TSRGt35DVqGKQudUC2/66SdQAfjksfuDOPo+Q0miVF7SZgouPQpbBPi2lbt6IAzx5J
0TJMg+3S2zYZmbXNsNc2d4aP4Py72cJ2dGMJhSrgP3o=
X-Received: by 2002:a17:90a:d60f:b0:3b0:a7b5:c037 with SMTP id 98e67ed59e1d1-3b3d063e959mr2846164a91.1.1795013415341;
Wed, 18 Nov 2026 06:50:15 -0800 (PST)
X-Received: from localhost ([2a03:2880:2ff:51::])
by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b3d143b9a6sm4765885a91.2.2026.11.18.06.50.14
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 18 Nov 2026 06:50:14 -0800 (PST)
X-Cc: davem@davemloft.net, michael.chan@broadcom.com, netdev@vger.kernel.org,
edumazet@google.com, pabeni@redhat.com, andrew+netdev@lunn.ch,
horms@kernel.org, pavan.chebbi@broadcom.com
X-Mail-Followup-To: Joe Damato <joe@dama.to>,
Jakub Kicinski <kuba@kernel.org>, davem@davemloft.net,
michael.chan@broadcom.com, netdev@vger.kernel.org,
edumazet@google.com, pabeni@redhat.com, andrew+netdev@lunn.ch,
horms@kernel.org, pavan.chebbi@broadcom.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: <20261118023905.3050661-5-kuba@kernel.org>