Article View: linux.kernel.netdev
Article #3249Re: [PATCH net-next 1/2] ipv4: Store netns in FIB table
From: David Ahern
Date: Wed, 14 Oct 2026 13:36
Date: Wed, 14 Oct 2026 13:36
22 lines
6067 bytes
6067 bytes
On 10/14/26 2:26 AM, Ido Schimmel wrote: > The next patch will stop passing the network namespace to > fib_table_lookup() and instead pass the namespace from the FIB table to > the fib_table_lookup tracepoint. As a preparation, store the namespace > in the FIB table when the table is created. > > The FIB table structure grows from 48 bytes to 56 bytes and still fits > in a single cache line. > > No functional changes intended. > > Assisted-by: LLM > Signed-off-by: Ido Schimmel <idosch@nvidia.com> > --- > include/net/ip_fib.h | 4 +++- > net/ipv4/fib_frontend.c | 6 +++--- > net/ipv4/fib_trie.c | 6 ++++-- > 3 files changed, 10 insertions(+), 6 deletions(-) > Reviewed-by: David Ahern <dsahern@kernel.org>
Technical Details
Message-ID:
<cd9e9a7e-c4aa-49ec-915b-ce472e7d7dfb@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346288-linux-kernel-netdev=dewy.ruReferences:
<20261014082612.1280756-1-idosch@nvidia.com> <20261014082612.1280756-2-idosch@nvidia.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-346288-linux-kernel-netdev=dewy.ru From: dsahern@kernel.org (David Ahern) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 1/2] ipv4: Store netns in FIB table Date: Wed, 14 Oct 2026 07:36:35 -0600 Organization: Usenet Network Message-ID: <cd9e9a7e-c4aa-49ec-915b-ce472e7d7dfb@kernel.org> References: <20261014082612.1280756-1-idosch@nvidia.com> <20261014082612.1280756-2-idosch@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="2306634"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:l7sHG+Kvb9nyr1uVIEH/FArbE3Y= sha256:onxFrqznTX9JKU/h7t5yzBKQJqHkOW8AVr41XHfSSCQ= sha1:KA5ic27SwKuUh+Ls72+1+EIMovU= sha256:dUgvgsJFlJFXckz3WTENE1o2m0PNfBPrzSB0uzf3mXk= 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 9DDD8110122; Wed, 14 Oct 2026 16:54:28 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.34 X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, 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 wuJyk3tzfV-d; Wed, 14 Oct 2026 16:54:25 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-346288-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 3A57A11010E; Wed, 14 Oct 2026 16:54:14 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id B69AC3D230; Wed, 14 Oct 2026 13:41:12 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B78C653C3B5; Wed, 14 Oct 2026 13:36:41 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z8euOEfI" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4828E52F288 for <netdev@vger.kernel.org>; Wed, 14 Oct 2026 13:36:36 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791985001; cv=none; b=tVlAmOFVtPJNoo6pDo5vSTo/mATPAlFKjax2VRH/7lhI/YXczCEr2ml/NW+1PdVufLdPj+2N5qZmJfCD7WcOGtbrTCfMSTKO8SYuZLiIid4HydLuxbyNr+nGjTZT8TqTlwakPgeJfSxu9Mh076TzXeUm8/wSBCUsETGNVWsUB/Q= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791985001; c=relaxed/simple; bh=H3nrvFKjeCvjT+yeX1CIIGlTcALlc0qk89/K4F/6VLI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jluguXtO7U3XCCi3mhn6jS0RcUXwZ5FQjh2tGcKbtg392yR7ZE1GGiVaSUJi6f5a6Nl/9JW5eSiE/OnuK51bn3YaUdr2sgQPOG4gvWCgeBZt1I5Of8CusY5kes1wRhdP36SzksJmvbs7DXGkQyoupHrdc0GT3Qvru7bgpTcem30= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z8euOEfI; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D7601F00893; Wed, 14 Oct 2026 13:36:36 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791984996; bh=pWNA1SXChIvlao7F+7bMmKCCs/ij598G0kF7FwTYryE=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Z8euOEfIUUoNSdJpCRSxp0L0NXljQFrmAWWtDFIeRUz7/JH88akapfSLYmkq4ZdT5 9ReZw3K5q8DtLAM4y9u8JZH6rXA2yjPZXfPIF40qa+4MLaEZRva1eXyEnwkrNoot4f tU5ACvF6qIe55JrY7DMsPwzqYRx1trvTRVI0HvcCQmNplNswf8rITSHgEewJGPtSi+ wrSe83YDKtCm48wUp0OPHK4i09qNmoiBBUS720qTNr2+shz5Ls+vqtBB3eOGyy6HWk X3yKS4ac4qlldAspNbNAxWYm4pw1p9/QD4la7aLb9seAdpJwecyTSAd+zw9ZhNg9Z8 hWUh5gUa14Wsg== X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-User-Agent: Mozilla Thunderbird X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@kernel.org, horms@kernel.org X-In-Reply-To: <20261014082612.1280756-2-idosch@nvidia.com>