mlxsw: spectrum_acl: Add A-TCAM region initialization
authorIdo Schimmel <idosch@mellanox.com>
Wed, 25 Jul 2018 06:24:03 +0000 (09:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jul 2018 23:46:01 +0000 (16:46 -0700)
commit6d240650bcfdba2860ab2691b5fd4352105d95a0
tree311f9489f9ffb082be5134307004712cba186334
parentf58df510f899e4560c4e2d397f05a53f0d343fc0
mlxsw: spectrum_acl: Add A-TCAM region initialization

Before we start using the A-TCAM we need to make sure the region is
properly initialized.

This includes the setting of its type (which affects the size of its eRP
table, for example) and its registration with the eRP core.

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/spectrum_acl_atcam.c