[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180114.120636.1435987682816338868.davem@davemloft.net>
Date: Sun, 14 Jan 2018 12:06:36 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, idosch@...lanox.com, mlxsw@...lanox.com
Subject: Re: [patch net-next] mlxsw: spectrum_router: Add support for IPv6
non-equal-cost multipath
From: Jiri Pirko <jiri@...nulli.us>
Date: Fri, 12 Jan 2018 17:15:59 +0100
> From: Ido Schimmel <idosch@...lanox.com>
>
> Since commit eb789980d0aa ("mlxsw: spectrum_router: Populate adjacency
> entries according to weights") the driver includes support for
> non-equal-cost multipath, but IPv4 nexthops were the only user.
>
> Now that the kernel supports weighted IPv6 nexthops, we can extend the
> driver to support it as well.
>
> This is done by assigning each nexthop its configured weight, so that it
> will be populated accordingly in the device's adjacency table. The
> `weight` parameter is also taken into account when comparing nexthop
> groups in order not to consolidate non-identical groups.
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied, thanks Jiri.
Powered by blists - more mailing lists