[PATCH 0/2] net/mlx5: fix counter object leaks

Raslan Darawsheh rasland at nvidia.com
Sun Jul 2 16:41:25 CEST 2023


Hi,

> -----Original Message-----
> From: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Sent: Tuesday, June 27, 2023 11:28 AM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; Suanming Mou
> <suanmingm at nvidia.com>
> Cc: dev at dpdk.org
> Subject: [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(-)
> 
> --
> 2.25.1

Series applied to next-net-mlx,
Added missing Cc stable at dpdk.org

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list