[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0bd8a588-0c6a-de20-c2d4-39e46e433a7e@gmail.com>
Date: Sun, 16 Jun 2019 19:22:44 -0600
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...sch.org>, netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...lanox.com, alexpe@...lanox.com,
mlxsw@...lanox.com, Ido Schimmel <idosch@...lanox.com>
Subject: Re: [PATCH net-next 03/17] ipv6: Extend notifier info for multipath
routes
On 6/15/19 8:07 AM, Ido Schimmel wrote:
> From: Ido Schimmel <idosch@...lanox.com>
>
> Extend the IPv6 FIB notifier info with number of sibling routes being
> notified.
>
> This will later allow listeners to process one notification for a
> multipath routes instead of N, where N is the number of nexthops.
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Acked-by: Jiri Pirko <jiri@...lanox.com>
> ---
> include/net/ip6_fib.h | 7 +++++++
> net/ipv6/ip6_fib.c | 17 +++++++++++++++++
> 2 files changed, 24 insertions(+)
>
The need for a second notifier stems from the append case? versus using
call_fib6_entry_notifiers and letting the nsiblings fallout from
rt->fib6_nsiblings? The append case is a weird thing for userspace to
maintain order, but it seems like the offload case should not care.
Also, .multipath_rt seems redundant with .nsiblings > 1
Powered by blists - more mailing lists