]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Change init order
authorYotam Gigi <yotamg@mellanox.com>
Tue, 19 Sep 2017 08:00:08 +0000 (10:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 21:21:39 +0000 (14:21 -0700)
commitdcd4d38d0dd2b02a027acf597781935195497398
tree06cbe5778832c9acdc2ae3e7f4846755cb3dd20f
parent5c404d484b467477cdf63c69adf07633e097c136
mlxsw: spectrum: Change init order

The multicast router offloading code is going to require the counter_pools
initialization to occur before the router initialization, thus, change the
spectrum initialization order to fix it.

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