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 Koz
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.
>
>
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
---
drivers/net/mlx5/mlx5_hws_cnt.c | 19
3 matches
Mail list logo