Skip to content

net/mlx5: fix counter object leaks

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 queue used to deallocate counterdrivers/net/mlx5/mlx5_flow_hw.c drivers/net/mlx5/mlx5_hws_cnt.h+25 -50 replies
2/2net/mlx5: fix counter allocation from shared pooldrivers/net/mlx5/mlx5_hws_cnt.h+1 -00 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 object leaks

This patch series fixes the issue where after a long cycle of inserting/deleting flow rules using COUNT actions, mlx5_hws_cnt_pool_get() started returning either -EAGAIN or -ENOENT. Root cause of the issue was the fact that some counter objects were not properly returned to the shared counter pool.

Dariusz Sosnowski (2):
net/mlx5: fix queue used to deallocate counter net/mlx5: fix counter allocation from shared pool

 drivers/net/mlx5/mlx5_flow_hw.c | 14 +++++++++-----
 drivers/net/mlx5/mlx5_hws_cnt.h | 17 +++++++++++++++++
 2 files changed, 26 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1