]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit529a7e969f879de5c4a99c89a45e4509e6f1affa
tree221c54989e1a2e9181b53363a3bd1397363de717
parent0c3c931b202ac003d912ae4190c7c31b4eb7042a
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