mlxsw: spectrum_acl: Move block items encoding into Spectrum op
authorJiri Pirko <jiri@mellanox.com>
Sun, 8 Jul 2018 20:51:23 +0000 (23:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2018 23:24:17 +0000 (16:24 -0700)
commita5995cc801f9b6a66af1d20b2025ff0c20a4c0bf
tree5b36ca53fdb543deffd9901f10dd945bdd679cac
parentc17d20838eff75caf14a25cf7bf2a532fa360820
mlxsw: spectrum_acl: Move block items encoding into Spectrum op

Since Spectrum-2 encodes blocks into different HW layout, push this
code into Spectrum-specific op.

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