]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Add Spectrum-2 variant of flex actions ops
authorJiri Pirko <jiri@mellanox.com>
Wed, 18 Jul 2018 08:14:33 +0000 (11:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 17:13:13 +0000 (02:13 +0900)
commit3a1b6b71a8d9e9d0c0b77310ca88ab432e8a9eb1
tree3988db2862ddc8cc33ff177792767beaf449f249
parentdbbdb5064b92a86278028f2ea1a9bdc98ea75784
mlxsw: spectrum: Add Spectrum-2 variant of flex actions ops

In Spectrum-2, no action set is stored directly in TCAM, all are located
in KVD linear. So ask core to treat the first set as dummy empty one,
to be just used for PTCEV2 purposes.

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_actions.c