mlxsw: spectrum_router: Start using new IPv6 route notifications
authorIdo Schimmel <idosch@mellanox.com>
Mon, 23 Dec 2019 13:28:19 +0000 (15:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Dec 2019 06:37:30 +0000 (22:37 -0800)
commitdacad7b34b59fb06a242ef2cf64205f04f7c5339
treeaa0acf149729a6c4d7aa84b5d1f1085b22329af4
parent0284696b97b2fad1b220871559dff410cc3187e0
mlxsw: spectrum_router: Start using new IPv6 route notifications

With the new notifications mlxsw does not need to handle identical
routes itself, as this is taken care of by the core IPv6 code.

Instead, mlxsw only needs to take care of inserting and removing routes
from the device.

Convert mlxsw to use the new IPv6 route notifications and simplify the
code.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c