Netdev List
 help / color / mirror / Atom feed
From: David Ahern <dsahern@kernel.org>
To: Ido Schimmel <idosch@nvidia.com>, netdev@vger.kernel.org
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
Subject: Re: [PATCH net-next v2 2/3] ipv4: Pass netns to fib_table_lookup()
Date: Sat, 10 Oct 2026 07:34:04 -0600	[thread overview]
Message-ID: <0caf7eb8-e4de-40cd-bd5a-c1a1d96a82a1@kernel.org> (raw)
In-Reply-To: <20261008133158.1438907-3-idosch@nvidia.com>

On 10/8/26 7:31 AM, Ido Schimmel wrote:
> The next patch will report the network namespace cookie in the
> fib_table_lookup tracepoint. As a preparation, pass the namespace to
> fib_table_lookup() and from there to the tracepoint, like the
> fib6_table_lookup tracepoint. All the callers already have the namespace
> at hand.
> 
> Add the namespace as the last tracepoint argument so that the positions
> of the existing arguments do not change and BPF programs that attach to
> the raw tracepoint are not affected.
> 
> No functional changes intended.
> 
> 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>
> ---
>  include/net/ip_fib.h       | 12 +++++++-----
>  include/trace/events/fib.h |  5 +++--
>  net/core/filter.c          |  2 +-
>  net/ipv4/devinet.c         |  3 ++-
>  net/ipv4/fib_frontend.c    |  6 ++++--
>  net/ipv4/fib_rules.c       |  2 +-
>  net/ipv4/fib_semantics.c   |  2 +-
>  net/ipv4/fib_trie.c        | 14 ++++++++------
>  8 files changed, 27 insertions(+), 19 deletions(-)
> 

Reviewed-by: David Ahern <dsahern@kernel.org>


  reply	other threads:[~2026-10-10 13:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-08 13:31 [PATCH net-next v2 0/3] Report netns cookie in FIB lookup tracepoints Ido Schimmel
2026-10-08 13:31 ` [PATCH net-next v2 1/3] ipv6: Report netns cookie in fib6_table_lookup tracepoint Ido Schimmel
2026-10-10 13:33   ` David Ahern
2026-10-08 13:31 ` [PATCH net-next v2 2/3] ipv4: Pass netns to fib_table_lookup() Ido Schimmel
2026-10-10 13:34   ` David Ahern [this message]
2026-10-08 13:31 ` [PATCH net-next v2 3/3] ipv4: Report netns cookie in fib_table_lookup tracepoint Ido Schimmel
2026-10-10 13:34   ` David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0caf7eb8-e4de-40cd-bd5a-c1a1d96a82a1@kernel.org \
    --to=dsahern@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=ferenc@fejes.dev \
    --cc=horms@kernel.org \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=petrm@nvidia.com \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox