[PATCH] net/mlx5: optimize counters ID greneration logic

Raslan Darawsheh rasland at nvidia.com
Wed Jun 4 16:59:34 CEST 2025


Hi,


On 25/04/2025 6:55 PM, 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>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh



More information about the dev mailing list