mlxsw: spectrum_acl: Extend Spectrum-2 region struct
authorIdo Schimmel <idosch@mellanox.com>
Wed, 25 Jul 2018 06:23:58 +0000 (09:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jul 2018 23:46:01 +0000 (16:46 -0700)
commitbefc7747df2071845ae2c3b97c759a4df032ae5e
tree152508b52ae031e3a7bf02feb7f49a421fe990a9
parentb17b113e0c38e94c2f8c0763926c6a2168293201
mlxsw: spectrum_acl: Extend Spectrum-2 region struct

In a similar fashion to Spectrum-1's region struct, Spectrum-2's struct
needs to store a pointer to the common region struct.

The pointer will be used in follow-up patches that implement rules
insertion and deletion.

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