summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
diff options
context:
space:
mode:
authorJiri Pirko2018-07-18 10:14:33 +0200
committerDavid S. Miller2018-07-18 19:13:13 +0200
commitd55ece4b6e9ec39a9bcac82f1ae29a106c7bbbfb (patch)
tree3988db2862ddc8cc33ff177792767beaf449f249 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h
parentmlxsw: spectrum_mr_tcam: Add Spectrum-2 stubs (diff)
downloadkernel-qcow2-linux-d55ece4b6e9ec39a9bcac82f1ae29a106c7bbbfb.tar.gz
kernel-qcow2-linux-d55ece4b6e9ec39a9bcac82f1ae29a106c7bbbfb.tar.xz
kernel-qcow2-linux-d55ece4b6e9ec39a9bcac82f1ae29a106c7bbbfb.zip
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/spectrum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
index 407b3315e210..b09f339329b6 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
@@ -646,6 +646,7 @@ extern const struct mlxsw_sp_acl_tcam_ops mlxsw_sp1_acl_tcam_ops;
/* spectrum_acl_flex_actions.c */
extern const struct mlxsw_afa_ops mlxsw_sp1_act_afa_ops;
+extern const struct mlxsw_afa_ops mlxsw_sp2_act_afa_ops;
/* spectrum_acl_flex_keys.c */
extern const struct mlxsw_afk_ops mlxsw_sp1_afk_ops;