summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-01-12 17:15:59 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-14 12:06:15 -0500
commit3743d88ab48afa7fb036bb01cd1f19f8202bc526 (patch)
treef2e7449ae6073775d5d507cc30d8f74b65ed15df /drivers/macintosh
parent54f7bf7230520ef6f0c79ac507fef46e5d7aa7fb (diff)
downloadlinux-3743d88ab48afa7fb036bb01cd1f19f8202bc526.tar.bz2
mlxsw: spectrum_router: Add support for IPv6 non-equal-cost multipath
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@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions