[PATCH 0/2] net/mlx5: fix counter query loop getting stuck
Raslan Darawsheh
rasland at nvidia.com
Wed Nov 13 14:37:55 CET 2024
Hi,
From: Dariusz Sosnowski <dsosnowski at nvidia.com>
Sent: Wednesday, October 30, 2024 6:30 PM
To: Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad
Cc: Raslan Darawsheh; dev at dpdk.org
Subject: [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
Series applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list