]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitc4c2dc54293c556b8a05b9da024f92f8225a9eb8
treeb0a73688b5c299a19ce94e868c819815c5f415ee
parentb2d6b4d2beee81e1c30501954dc4ba198bb996c4
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