From 38c6dc20394b28abd0440dbdd2f9309eb4c95ccc Mon Sep 17 00:00:00 2001 From: Xueming Li Date: Tue, 17 Nov 2020 11:01:23 +0000 Subject: [PATCH] net/mlx5: fix flow index type Fix assertion check warnings. Fixes: 8bb81f2649b1 ("net/mlx5: use thread specific flow workspace") Cc: stable@dpdk.org Signed-off-by: Xueming Li Reviewed-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h index f64384217f..afddcfc12c 100644 --- a/drivers/net/mlx5/mlx5_flow.h +++ b/drivers/net/mlx5/mlx5_flow.h @@ -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 { -- 2.20.1