Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c41 struct mlx5_irq_pool *sf_comp_pool; member
402 return irq_table->sf_comp_pool; in sf_irq_pool_get()
675 table->sf_comp_pool = irq_pool_alloc(dev, pcif_vec + num_sf_ctrl, in irq_pools_init()
679 if (IS_ERR(table->sf_comp_pool)) { in irq_pools_init()
680 err = PTR_ERR(table->sf_comp_pool); in irq_pools_init()
684 table->sf_comp_pool->irqs_per_cpu = kcalloc(nr_cpu_ids, sizeof(u16), GFP_KERNEL); in irq_pools_init()
685 if (!table->sf_comp_pool->irqs_per_cpu) { in irq_pools_init()
693 irq_pool_free(table->sf_comp_pool); in irq_pools_init()
704 irq_pool_free(table->sf_comp_pool); in irq_pools_destroy()
723 mlx5_irq_pool_free_irqs(table->sf_comp_pool); in mlx5_irq_pools_free_irqs()
[all …]