OSDN Git Service

mlxsw: reg: Prepare PERERP register for A-TCAM usage
authorIdo Schimmel <idosch@mellanox.com>
Wed, 25 Jul 2018 06:23:50 +0000 (09:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jul 2018 23:46:01 +0000 (16:46 -0700)
commit91329e27f36d7008402fb4d5e853e731a200f19b
treea0c6ae4e855fbbdd1296590a3881e740995511c5
parent41147bb18a38a9c9e805dac3d82cef7f1cb24eef
mlxsw: reg: Prepare PERERP register for A-TCAM usage

Before introducing A-TCAM support we need to make sure all the necessary
fields are configurable and not hard coded to values that worked for the
C-TCAM only use case.

This includes - for example - the ability to configure the eRP table
used by the TCAM region.

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/reg.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c