OSDN Git Service

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)
commitd55ece4b6e9ec39a9bcac82f1ae29a106c7bbbfb
tree3988db2862ddc8cc33ff177792767beaf449f249
parent18ce0e4e6616d0c8c15aad998e1bda42247e42f1
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