net/mlx5: fix assertion check warnings
PATCH 1/1 net/mlx5: fix assertion check warnings
Fix assertion check warnings.
Fixes 8bb81f2649b1 ("net/mlx5: use thread specific flow workspace")
Signed-off-by Xueming Li <[email protected]>
Reviewed-by Slava Ovsiienko <[email protected]>
--- drivers/net/mlx5/mlx5_flow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/mlx5/mlx5_flow.h +1 -1
@@ -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 {
Signature · 1 line
2.25.1
Hi,
Quoted 9 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Xueming Li
Sent: Tuesday, November 17, 2020 1:01 PM
To: Matan Azrad <[email protected]>; Slava Ovsiienko <[email protected]>
Cc: [email protected]; Xueming(Steven) Li <[email protected]>; Asaf Penso <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] net/mlx5: fix assertion check warnings
Quoted 8 lines
Fix assertion check warnings.
Fixes 8bb81f2649b1 ("net/mlx5: use thread specific flow workspace")Signed-off-by Xueming Li <[email protected]>Reviewed-by Slava Ovsiienko <[email protected]>---
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
Quoted 9 lines
Quoted 7 lines
Fix assertion check warnings.
Fixes 8bb81f2649b1 ("net/mlx5: use thread specific flow workspace")Signed-off-by Xueming Li <[email protected]>Reviewed-by Slava Ovsiienko <[email protected]>Patch applied to next-net-mlx,
I know this patch is minor, but we should not write, review and apply a fix which does not explain the issue, not even referencing the warning.