net/mlx5: fix flow index type
authorXueming Li <xuemingl@nvidia.com>
Tue, 17 Nov 2020 11:01:23 +0000 (11:01 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Nov 2020 20:10:05 +0000 (21:10 +0100)
Fix assertion check warnings.

Fixes: 8bb81f2649b1 ("net/mlx5: use thread specific flow workspace")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow.h

index f643842..afddcfc 100644 (file)
@@ -1108,7 +1108,7 @@ struct mlx5_flow_workspace {
        struct mlx5_flow flows[MLX5_NUM_MAX_DEV_FLOWS];
        struct mlx5_flow_rss_desc rss_desc;
        uint32_t rssq_num; /* Allocated queue num in rss_desc. */
-       int flow_idx; /* Intermediate device flow index. */
+       uint32_t flow_idx; /* Intermediate device flow index. */
 };
 
 struct mlx5_flow_split_info {