Skip to content

net/mlx5: fix counter query loop getting stuck

Dariusz Sosnowski dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/mlx5: fix dangling pointer to paramsdrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_hw.c+31 -310 replies
2/2net/mlx5: fix counter query loop getting stuckdoc/guides/nics/mlx5.rst drivers/net/mlx5/mlx5_flow_hw.c drivers/net/mlx5/mlx5_hws_cnt.c+110 -240 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchOri Kam
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] net/mlx5: fix counter query loop getting stuck

Main content of this patchset is "net/mlx5: fix counter query loop getting stuck" patch.

The preceding patch is required, because the fix for counter query loop triggered the dangling pointer compilation error in GCC 14.2.1 in an unrelated part of the code. To be specific, the following part caused the error:

```
@@ -3978,7 +3982,7 @@ flow_hw_async_flow_create(struct rte_eth_dev *dev,
 				      &table->ats[action_template_index],
 				      table->its[pattern_template_index]->item_flags,
 				      flow->table, actions,
-				      rule_acts, queue, error))
+				      rule_acts, queue, &sub_error))
 		goto error;
 	rule_items = flow_hw_get_rule_items(dev, table, items,
 					    pattern_template_index, &priv->hw_q[queue].pp);
```

Dariusz Sosnowski (2):
net/mlx5: fix dangling pointer to params
net/mlx5: fix counter query loop getting stuck

 doc/guides/nics/mlx5.rst        | 71 +++++++++++++++++++++++++++++++++
 drivers/net/mlx5/mlx5.h         | 28 +++++++++++++
 drivers/net/mlx5/mlx5_flow.h    | 25 ------------
 drivers/net/mlx5/mlx5_flow_hw.c | 26 +++++++-----
 drivers/net/mlx5/mlx5_hws_cnt.c | 46 ++++++++++++---------
 5 files changed, 141 insertions(+), 55 deletions(-)

--
2.39.5