]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Split TCAM group structure into two
authorJiri Pirko <jiri@mellanox.com>
Sun, 24 Feb 2019 06:46:23 +0000 (06:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 04:25:28 +0000 (20:25 -0800)
commit63e0de15389307530ca819ab7eec6b0a96228219
treec220c1661733d29828ac220c2c5881f51e1ba455
parent83257361d9a2e472a2af78a85060120342501ac7
mlxsw: spectrum_acl: Split TCAM group structure into two

Make the existing group structure to contain fields needed for HW region
list manipulations. Move the rest of the fields into new vgroup struct.
This makes layering cleaner as the vgroup struct is on higher level than
low-level group struct. Also, this makes it possible to introduce
fine-grained locking.

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