[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <238ef338-2582-0e10-0e70-1d1e6deb6934@gmail.com>
Date: Tue, 24 Dec 2019 09:58:25 -0700
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...sch.org>, netdev@...r.kernel.org
Cc: davem@...emloft.net, roopa@...ulusnetworks.com,
jakub.kicinski@...ronome.com, jiri@...lanox.com,
Ido Schimmel <idosch@...lanox.com>
Subject: Re: [PATCH net-next 5/9] ipv6: Only Replay routes of interest to new
listeners
On 12/23/19 6:28 AM, Ido Schimmel wrote:
> From: Ido Schimmel <idosch@...lanox.com>
>
> When a new listener is registered to the FIB notification chain it
> receives a dump of all the available routes in the system. Instead, make
> sure to only replay the IPv6 routes that are actually used in the data
> path and are of any interest to the new listener.
>
> This is done by iterating over all the routing tables in the given
> namespace, but from each traversed node only the first route ('leaf') is
> notified. Multipath routes are notified in a single notification instead
> of one for each nexthop.
>
> Add fib6_rt_dump_tmp() to do that. Later on in the patch set it will be
> renamed to fib6_rt_dump() instead of the existing one.
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
> ---
> net/ipv6/ip6_fib.c | 40 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists