Hi, > -----Original Message----- > From: Bing Zhao <bi...@nvidia.com> > Sent: Friday, March 8, 2024 5:23 AM > To: Suanming Mou <suanmi...@nvidia.com>; dev@dpdk.org; Raslan > Darawsheh <rasl...@nvidia.com> > Cc: Ori Kam <or...@nvidia.com>; Dariusz Sosnowski > <dsosnow...@nvidia.com>; Slava Ovsiienko <viachesl...@nvidia.com>; > Matan Azrad <ma...@nvidia.com>; sta...@dpdk.org > 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: suanmi...@nvidia.com > Cc: sta...@dpdk.org > > Signed-off-by: Bing Zhao <bi...@nvidia.com> > Acked-by: Suanming Mou <suanmi...@nvidia.com> Patch applied to next-net-mlx,
Kindest regards, Raslan Darawsheh