mlxsw: spectrum: Introduce flex key blocks for Spectrum-2
authorJiri Pirko <jiri@mellanox.com>
Wed, 18 Jul 2018 08:14:34 +0000 (11:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 17:13:13 +0000 (02:13 +0900)
commitdcdf01028efa4c72d442f029e9bde449d7e7bc4a
treeaacfe6c9a4ef09be156d311ef9628124268dbf69
parentd55ece4b6e9ec39a9bcac82f1ae29a106c7bbbfb
mlxsw: spectrum: Introduce flex key blocks for Spectrum-2

Introduce key blocks for Spectrum-2 that contains the same elements used
already for Spectrum1. Along with that, introduce encoder stub.

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