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

Do the split of chunk struct so the new chunk struct is related to the
actual HW chunk (differs between Spectrum and Spectrum-2),
whereas vchunk struct is a SW abstraction of that. This split
prepares possibility for vchunk to hold 2 HW chunks 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