]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Add / delete multiple IPv6 nexthops
authorIdo Schimmel <idosch@mellanox.com>
Tue, 18 Jun 2019 15:12:55 +0000 (18:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jun 2019 16:45:37 +0000 (09:45 -0700)
commita2c335bc311cbacfe8f146ae739c5dbe5ad75bfc
tree07cb3e10149275aa197af4052ac5557423beb0bf
parent908284f6cd5df52b400ed76a3841a6e214f948f5
mlxsw: spectrum_router: Add / delete multiple IPv6 nexthops

Currently, the functions that take care of populating IPv6 nexthop
groups only add / delete a single nexthop.

Prepare them to handle multiple routes in one notification by passing an
array of routes and adding / deleting all of them.

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