OSDN Git Service

mlxsw: spectrum: Change stage of ACL initialization
authorNir Dotan <nird@mellanox.com>
Mon, 10 Dec 2018 07:11:37 +0000 (07:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Dec 2018 07:01:33 +0000 (23:01 -0800)
commit254cec14649ebdb891d75fc69be6c801762a9a09
tree221c54989e1a2e9181b53363a3bd1397363de717
parenta75e41d37a7ac5a8020f9fec54656c71209075fd
mlxsw: spectrum: Change stage of ACL initialization

In Spectrum-2, MC routing is implemented using ACL block explicitly, so
router initialization should take place after ACL initialization.
Set the initialization of the ACL block before IP router initizalization
takes place, so multicast router will be able to allocate ACL data
structures and create its required chains.

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