]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net/mlx5: E-Switch, Increase supported number of forward destinations to 32
authorMaor Dickman <maord@nvidia.com>
Sun, 5 Sep 2021 11:22:11 +0000 (14:22 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 19 Oct 2021 03:18:10 +0000 (20:18 -0700)
Increase supported number of forward destinations in the same rule, local
and remote, from 2 to 32.

Signed-off-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h

index 7461aafb321eede7e5291df375149afdc72c9c06..28467f11f04b923f8befe8a4fc5f313e4461c080 100644 (file)
@@ -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),