[PATCH] net/mlx5: optimize counters ID greneration logic
Dariusz Sosnowski
dsosnowski at nvidia.com
Tue Jun 3 16:51:59 CEST 2025
Hi,
On Fri, Apr 25, 2025 at 06:55:12PM +0300, Alexander Kozyrev wrote:
> Enqueue generated counter IDs on a ring in bulk.
> Generate them and store in an array before putting them
> on a ring all at once. That bring better cache access
> and speeds up the mlx5_hws_cnt_pool_create() function.
>
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Best regards,
Dariusz Sosnowski
More information about the dev
mailing list