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

Do the split of region struct so the new region struct is related to the
actual HW region, whereas vregion struct is a SW abstration of that.
This split prepares possibility for vregion to hold 2 HW regions 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_tcam.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h