]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Split entry struct into entry and ventry
authorJiri Pirko <jiri@mellanox.com>
Thu, 7 Feb 2019 11:22:50 +0000 (11:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2019 23:02:49 +0000 (15:02 -0800)
commitf4094e96a00e00e128b7f13b2d4553fe99ec2c69
treeb0a73688b5c299a19ce94e868c819815c5f415ee
parent135f5559660926212ac3a0a40430080b757ae6bd
mlxsw: spectrum_acl: Split entry struct into entry and ventry

Do the split of entry struct so the new entry struct is related to the
actual HW entry, whereas ventry struct is a SW abstration of that.
This split prepares possibility for ventry to hold 2 HW entries which
is needed for region ERP rehash flow.

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