Lines Matching refs:sf_comp_pool
42 struct mlx5_irq_pool *sf_comp_pool; member
404 return irq_table->sf_comp_pool; in sf_irq_pool_get()
677 table->sf_comp_pool = irq_pool_alloc(dev, pcif_vec + num_sf_ctrl, in irq_pools_init()
681 if (IS_ERR(table->sf_comp_pool)) { in irq_pools_init()
682 err = PTR_ERR(table->sf_comp_pool); in irq_pools_init()
686 table->sf_comp_pool->irqs_per_cpu = kcalloc(nr_cpu_ids, sizeof(u16), GFP_KERNEL); in irq_pools_init()
687 if (!table->sf_comp_pool->irqs_per_cpu) { in irq_pools_init()
695 irq_pool_free(table->sf_comp_pool); in irq_pools_init()
706 irq_pool_free(table->sf_comp_pool); in irq_pools_destroy()
725 mlx5_irq_pool_free_irqs(table->sf_comp_pool); in mlx5_irq_pools_free_irqs()
827 if (table->sf_comp_pool) in mlx5_irq_table_get_sfs_vec()
829 table->sf_comp_pool->xa_num_irqs.max - in mlx5_irq_table_get_sfs_vec()
830 table->sf_comp_pool->xa_num_irqs.min + 1); in mlx5_irq_table_get_sfs_vec()