]> asedeno.scripts.mit.edu Git - linux.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)
commite2b2d35a052d9264a774715bc6aa3395a45dcfa2
tree06cbe5778832c9acdc2ae3e7f4846755cb3dd20f
parent767071270798d7292a905022b8f29711bfc5b0a2
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