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)
commit921bc539cbcbb89274ff692ae58fc000c1f251bc
tree9ff8a86b541fb3f35653cecc4c4b24670bde136e
parent94d628d1f97b88749caee797ff78d41eb95e26e5
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