]> 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)
commit9ca707ebea866c6f5e5a48979728a6290421134d
treec220c1661733d29828ac220c2c5881f51e1ba455
parent945598bd462d32e06907e7e7e8889ca73223e000
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