From: Yevgeny Kliteynik Date: Sat, 11 Sep 2021 08:44:01 +0000 (+0300) Subject: net/mlx5: DR, Increase supported num of actions to 32 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1ffd498901c1134a7cbecf5409e12c064c39cef9;p=linux.git net/mlx5: DR, Increase supported num of actions to 32 Increase max supported number of actions in the same rule. Signed-off-by: Hamdan Igbaria Signed-off-by: Yevgeny Kliteynik Signed-off-by: Saeed Mahameed --- diff --git a/drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c b/drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c index 7e58f4e594b74..230e920e38459 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c @@ -222,7 +222,7 @@ static bool contain_vport_reformat_action(struct mlx5_flow_rule *dst) dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID; } -#define MLX5_FLOW_CONTEXT_ACTION_MAX 20 +#define MLX5_FLOW_CONTEXT_ACTION_MAX 32 static int mlx5_cmd_dr_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group,