]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6dc4ca47054ae169f35a35a01e13eefef4dcd89f
treeaa0acf149729a6c4d7aa84b5d1f1085b22329af4
parent1b33da0650b7bc7be904e36b10fd9f67ae61c78c
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