DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] net/mlx5: fix counter query loop getting stuck
@ 2024-10-30 16:30 Dariusz Sosnowski
  2024-10-30 16:30 ` [PATCH 1/2] net/mlx5: fix dangling pointer to params Dariusz Sosnowski
  2024-10-30 16:30 ` [PATCH 2/2] net/mlx5: fix counter query loop getting stuck Dariusz Sosnowski
  0 siblings, 2 replies; 3+ messages in thread
From: Dariusz Sosnowski @ 2024-10-30 16:30 UTC (permalink / raw)
  To: Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou, Matan Azrad
  Cc: Raslan Darawsheh, dev

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-30 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-30 16:30 [PATCH 0/2] net/mlx5: fix counter query loop getting stuck Dariusz Sosnowski
2024-10-30 16:30 ` [PATCH 1/2] net/mlx5: fix dangling pointer to params Dariusz Sosnowski
2024-10-30 16:30 ` [PATCH 2/2] net/mlx5: fix counter query loop getting stuck Dariusz Sosnowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).