]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22824e9a5c5ea243b5bcb0ec03a9f0e6f9ef2d4d
tree311f9489f9ffb082be5134307004712cba186334
parentb2f22c08d3d7284afaf0436b7eacc897d3558f39
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