]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mlxsw: spectrum_acl: Add A-TCAM initialization
authorIdo Schimmel <idosch@mellanox.com>
Wed, 25 Jul 2018 06:24:00 +0000 (09:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jul 2018 23:46:01 +0000 (16:46 -0700)
commit174c0adb69a56bf098d9eb50cd3a78ec14657817
tree0fa436b26ad498a3c49c3f85c8887842f8d7bf83
parentca49544ed6ace7a1aee942a9f8e2553f9b1ddf2b
mlxsw: spectrum_acl: Add A-TCAM initialization

Initialize the A-TCAM as part of the driver's initialization routine.

Specifically, initialize the eRP tables so that A-TCAM regions will be
able to perform allocations of eRP tables upon rule insertion in
subsequent patches.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h