Home
last modified time | relevance | path

Searched refs:nent_pow2 (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c2507 int nent_pow2; in mlx4_init_counters_table() local
2515 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters); in mlx4_init_counters_table()
2517 return mlx4_bitmap_init(&priv->counters_bitmap, nent_pow2, in mlx4_init_counters_table()
2518 nent_pow2 - 1, 0, in mlx4_init_counters_table()
2519 nent_pow2 - dev->caps.max_counters + 1); in mlx4_init_counters_table()