Hi,

> -----Original Message-----
> From: Bing Zhao <[email protected]>
> Sent: Friday, March 8, 2024 5:23 AM
> To: Suanming Mou <[email protected]>; [email protected]; Raslan
> Darawsheh <[email protected]>
> Cc: Ori Kam <[email protected]>; Dariusz Sosnowski
> <[email protected]>; Slava Ovsiienko <[email protected]>;
> Matan Azrad <[email protected]>; [email protected]
> Subject: [PATCH] net/mlx5: fix the timing of releasing drop action
> 
> When creating the drop action Devx object, the global counter set is also used
> as in the regular or hairpin queue creation.
> 
> The drop action should be destroyed before the global counter set release
> procedure. Or else, the counter set object is still referenced and cannot be
> released successfully. This would cause the counter set resources to be
> exhausted after starting and stopping the ports repeatedly.
> 
> Fixes: 65b3cd0dc39b ("net/mlx5: create global drop action")
> Cc: [email protected]
> Cc: [email protected]
> 
> Signed-off-by: Bing Zhao <[email protected]>
> Acked-by: Suanming Mou <[email protected]>
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to