netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Ahern <dsahern@kernel.org>
To: cpaasch@openai.com, Nikolay Aleksandrov <razor@blackwall.org>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>, Ido Schimmel <idosch@idosch.org>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next v2 0/2] net: Speedup some nexthop handling when having A LOT of nexthops
Date: Mon, 18 Aug 2025 07:33:19 -0600	[thread overview]
Message-ID: <a9ae4ab6-bc93-4a0c-8018-d8422568b09b@kernel.org> (raw)
In-Reply-To: <20250816-nexthop_dump-v2-0-491da3462118@openai.com>

On 8/16/25 5:12 PM, Christoph Paasch via B4 Relay wrote:
> Configuring a very large number of nexthops is fairly possible within a
> reasonable time-frame. But, certain netlink commands can become
> extremely slow.
> 
> This series addresses some of these, namely dumping and removing
> nexthops.
> 
> Signed-off-by: Christoph Paasch <cpaasch@openai.com>
> ---
> Changes in v2:
> - Added another improvement to the series "net: When removing nexthops,
>   don't call synchronize_net if it is not necessary"
> - Fixed typos, made comments within 80-character limit and unified
>   comment-style. (Ido Schimmel)
> - Removed if (nh->id < s_idx) in the for-loop as it is no more needed.
>   (Ido Schimmel)
> - Link to v1: https://lore.kernel.org/r/20250724-nexthop_dump-v1-1-6b43fffd5bac@openai.com
> 
> ---
> Christoph Paasch (2):
>       net: Make nexthop-dumps scale linearly with the number of nexthops
>       net: When removing nexthops, don't call synchronize_net if it is not necessary
> 
>  net/ipv4/nexthop.c | 42 +++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 39 insertions(+), 3 deletions(-)
> ---
> base-commit: bab3ce404553de56242d7b09ad7ea5b70441ea41
> change-id: 20250724-nexthop_dump-f6c32472bcdf
> 
> Best regards,

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

  parent reply	other threads:[~2025-08-18 13:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-16 23:12 [PATCH net-next v2 0/2] net: Speedup some nexthop handling when having A LOT of nexthops Christoph Paasch via B4 Relay
2025-08-16 23:12 ` [PATCH net-next v2 1/2] net: Make nexthop-dumps scale linearly with the number " Christoph Paasch via B4 Relay
2025-08-17  8:42   ` Ido Schimmel
2025-08-17  9:40   ` Nikolay Aleksandrov
2025-08-18  9:54   ` Eric Dumazet
2025-08-16 23:12 ` [PATCH net-next v2 2/2] net: When removing nexthops, don't call synchronize_net if it is not necessary Christoph Paasch via B4 Relay
2025-08-17  8:44   ` Ido Schimmel
2025-08-17  9:40   ` Nikolay Aleksandrov
2025-08-18 10:02   ` Eric Dumazet
2025-08-18 13:33 ` David Ahern [this message]
2025-08-20  1:00 ` [PATCH net-next v2 0/2] net: Speedup some nexthop handling when having A LOT of nexthops patchwork-bot+netdevbpf

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=a9ae4ab6-bc93-4a0c-8018-d8422568b09b@kernel.org \
    --to=dsahern@kernel.org \
    --cc=cpaasch@openai.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=idosch@idosch.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=razor@blackwall.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;
as well as URLs for NNTP newsgroup(s).