summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
diff options
context:
space:
mode:
authorYotam Gigi2017-09-19 10:00:10 +0200
committerDavid S. Miller2017-09-19 23:21:40 +0200
commit4b8a79ff27645c1201287c3b17091add748d1fb9 (patch)
tree92ca86ed7c00b875491628a2bb8d8bafa889a9ab /drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
parentmlxsw: spectrum: Move ACL flexible actions instance to spectrum (diff)
downloadkernel-qcow2-linux-4b8a79ff27645c1201287c3b17091add748d1fb9.tar.gz
kernel-qcow2-linux-4b8a79ff27645c1201287c3b17091add748d1fb9.tar.xz
kernel-qcow2-linux-4b8a79ff27645c1201287c3b17091add748d1fb9.zip
mlxsw: acl: Introduce mcrouter ACL action
The Spectrum multicast forwarding is done using an ACL action. Add the mcrouter ACL action that will be used to offload the multicast router logic. Signed-off-by: Yotam Gigi <yotamg@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h b/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
index f99c341b2497..5dbb31fa5a27 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
+++ b/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
@@ -68,5 +68,8 @@ int mlxsw_afa_block_append_vlan_modify(struct mlxsw_afa_block *block,
int mlxsw_afa_block_append_counter(struct mlxsw_afa_block *block,
u32 counter_index);
int mlxsw_afa_block_append_fid_set(struct mlxsw_afa_block *block, u16 fid);
+int mlxsw_afa_block_append_mcrouter(struct mlxsw_afa_block *block,
+ u16 expected_irif, u16 min_mtu,
+ bool rmid_valid, u32 kvdl_index);
#endif