🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1706

Re: [PATCH net-next v2 3/3] ipv4: Report netns cookie in fib_table_lookup tracepoint

#1706
From: David Ahern
Date: Sat, 10 Oct 2026 13:34
24 lines
6307 bytes
On 10/8/26 7:31 AM, Ido Schimmel wrote:
> The fib_table_lookup tracepoint does not report the network namespace in
> which the lookup was performed, making it impossible to tell apart
> lookups performed in different namespaces.
> 
> Report the network namespace cookie now that the namespace is passed to
> the tracepoint.
> 
> Assisted-by: LLM
> Reviewed-by: Petr Machata <petrm@nvidia.com>
> Reviewed-by: Ferenc Fejes <ferenc@fejes.dev>
> Signed-off-by: Ido Schimmel <idosch@nvidia.com>
> ---
> 
> Notes:
>     Sashiko: There is a pre-existing issue here regarding an uninitialized
>     gateway address. I will take care of it separately.
> 
>  include/trace/events/fib.h | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 

Reviewed-by: David Ahern <dsahern@kernel.org>
Technical Details
Message-ID: <9dc71ab5-9cab-4404-aacf-b05fa083e58c@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-344211-linux-kernel-netdev=dewy.ru
References: <20261008133158.1438907-1-idosch@nvidia.com> <20261008133158.1438907-4-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-344211-linux-kernel-netdev=dewy.ru
From: dsahern@kernel.org (David Ahern)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2 3/3] ipv4: Report netns cookie in
 fib_table_lookup tracepoint
Date: Sat, 10 Oct 2026 07:34:23 -0600
Organization: Usenet Network
Message-ID: <9dc71ab5-9cab-4404-aacf-b05fa083e58c@kernel.org>
References: <20261008133158.1438907-1-idosch@nvidia.com>
 <20261008133158.1438907-4-idosch@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1340657"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:h8pEuJDflZskAU4x4VQzP8thRu4= sha256:3D+joXdV2o175TyDTg6ftstOVj+NPT/GLfUfKJr+gV8=
	sha1:Y4eomGAHbzuwDX0mtPQRNf7/YY8= sha256:zfcYM6H7V3M56C4nGcPBZJ0Sp3tPOLw+66EraTLJa6I=
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 E807410F8EF; Sat, 10 Oct 2026 16:34:33 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, 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 s1tyVYiJP3g8;
	Sat, 10 Oct 2026 16:34:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-344211-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 AAF7010F8E9; Sat, 10 Oct 2026 16:34:27 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 547FD3A01D; Sat, 10 Oct 2026 13:34:26 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CFC236B908;
	Sat, 10 Oct 2026 13:34:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EE9md2qW"
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 115382E7369
	for <netdev@vger.kernel.org>; Sat, 10 Oct 2026 13:34:24 +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=1791639265; cv=none; b=lAFRBHol+fCdC+TPLfX00PABME0B1w22wzWLEiclOxNgZeCqNxoq07IUu5ziswZnzzEUtcmdcJ28qD5SkCjdsM+5nbanUOrNgyllH10tmZ1f1B1Q99byO6K8iSwuRW4Bg2fxk3lSNbYYmYAfU1ZgSRSjWjzfAFMAtRjMlzukpc4=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791639265; c=relaxed/simple;
	bh=zAptzHZdMyuwoseUlMTV/l9jwqQXDVdIsBT35oD5EiM=;
	h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:
	 In-Reply-To:Content-Type; b=fMlVdX4qpxW/wcAAquSlZ8EOjSmA41AUOoKcrjo6eid9Tn9t5EdPKi6k8AquMvBnlc3IPw60MKSkbCH3/ktG1aZznkxMIZj/4Q7i80CUYFOfgzHIiHjfmxC7xcKV/06FReH0YoehQW2M1Nl46E4sCVED2eHyQ9zRo38P2ra0Jxc=
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=EE9md2qW; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3B991F000FF;
	Sat, 10 Oct 2026 13:34:23 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791639264;
	bh=mbStRfl66LnN1iBZ1d74mbPcMMYGwqv35tUZ+ToFTM8=;
	h=Date:Subject:To:Cc:References:From:In-Reply-To;
	b=EE9md2qWci91fMe9/GkcjOJ5+JhkonTWOPWbw1ggd4kAZMVirfgxpQH/TTHqXyAC0
	 cTmDKJCG1FlcLuIgiydCGVPHwQw/V7VE/pa8R/ZntzBvj6rSKqPHhzUAOEgZIJ5UIO
	 1KRhDmORutz5VKAzUdsLwyuyKITEIx364Ww57Z1IEjCh3Kjxul9mcDVcMbob3CfzSb
	 M0Sez5tO7HBOJy/jKm7DluSzY9lDV8ZeVdCmbg8/Wwj6aJlpKvoc6mYeQcqCYpH0vF
	 WnSjF4bj336jrnv2i3bj9gMavLiC6kW4zQUuKkJprUM5GDMr5QQVDI3J5Iz2qLwl5J
	 bD3/v5ajtNxyQ==
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, rostedt@goodmis.org,
 mhiramat@kernel.org, mathieu.desnoyers@efficios.com, daniel@iogearbox.net,
 petrm@nvidia.com, ferenc@fejes.dev
X-In-Reply-To: <20261008133158.1438907-4-idosch@nvidia.com>