]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Pass array of routes to route handling functions
authorIdo Schimmel <idosch@mellanox.com>
Tue, 18 Jun 2019 15:12:54 +0000 (18:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jun 2019 16:45:37 +0000 (09:45 -0700)
commit1ee062e93b050c95db826d7b268e12156f506aaa
tree9ff8a86b541fb3f35653cecc4c4b24670bde136e
parentd7dedac407fd868b3d9f8d3c74975a1c1b536b10
mlxsw: spectrum_router: Pass array of routes to route handling functions

Prepare the driver to handle multiple routes in a single notification by
passing an array of routes to the functions that actually add / delete a
route.

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