Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpci_irq.c601 int num_sf_ctrl; in irq_pools_init() local
618 num_sf_ctrl = DIV_ROUND_UP(mlx5_sf_max_functions(dev), in irq_pools_init()
620 num_sf_ctrl = min_t(int, MLX5_IRQ_CTRL_SF_MAX, num_sf_ctrl); in irq_pools_init()
621 if (!dynamic_vec && (num_sf_ctrl + 1) > sf_vec_available) { in irq_pools_init()
624 num_sf_ctrl + 1, sf_vec_available); in irq_pools_init()
628 table->sf_ctrl_pool = irq_pool_alloc(dev, pcif_vec, num_sf_ctrl, in irq_pools_init()
636 sf_vec_available -= num_sf_ctrl; in irq_pools_init()
639 table->sf_comp_pool = irq_pool_alloc(dev, pcif_vec + num_sf_ctrl, in irq_pools_init()