Searched refs:total_vec (Results 1 – 1 of 1) sorted by relevance
767 int total_vec; in mlx5_irq_table_create() local779 total_vec = pcif_vec; in mlx5_irq_table_create()781 total_vec += MLX5_IRQ_CTRL_SF_MAX + in mlx5_irq_table_create()783 total_vec = min_t(int, total_vec, pci_msix_vec_count(dev->pdev)); in mlx5_irq_table_create()786 req_vec = pci_msix_can_alloc_dyn(dev->pdev) ? 1 : total_vec; in mlx5_irq_table_create()791 err = irq_pools_init(dev, total_vec - pcif_vec, pcif_vec); in mlx5_irq_table_create()