Skip to contentSkip to conversation

net/mlx5: fix assertion check warnings

PATCH In review Xueming Li 3 participants 3 messages Nov 17, 2020 – Nov 21, 2020 Network drivers

lore
Share & tools
lore

Xueming Li

author
#0 lore raw

PATCH 1/1 net/mlx5: fix assertion check warnings

Fix assertion check warnings.

Fixes 8bb81f2649b1 ("net/mlx5: use thread specific flow workspace")
---
 drivers/net/mlx5/mlx5_flow.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/mlx5/mlx5_flow.h +1 -1
index f64384217f..afddcfc12c 100644
@@ -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
#1 lore raw

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")

---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh