From: Maor Dickman Date: Sun, 5 Sep 2021 11:22:11 +0000 (+0300) Subject: net/mlx5: E-Switch, Increase supported number of forward destinations to 32 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d40bfeddacd6b4c05a28e3e8f7cb18989a4e134f;p=linux.git net/mlx5: E-Switch, Increase supported number of forward destinations to 32 Increase supported number of forward destinations in the same rule, local and remote, from 2 to 32. Signed-off-by: Maor Dickman Reviewed-by: Roi Dayan Signed-off-by: Saeed Mahameed --- diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h index 7461aafb321ee..28467f11f04b9 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h @@ -433,7 +433,7 @@ enum mlx5_flow_match_level { }; /* current maximum for flow based vport multicasting */ -#define MLX5_MAX_FLOW_FWD_VPORTS 2 +#define MLX5_MAX_FLOW_FWD_VPORTS 32 enum { MLX5_ESW_DEST_ENCAP = BIT(0),