[PATCH 0/2] net/mlx5: fix counter query loop getting stuck
Dariusz Sosnowski
dsosnowski at nvidia.com
Wed Oct 30 17:30:44 CET 2024
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
More information about the dev
mailing list