Searched refs:total_vec (Results 1 – 1 of 1) sorted by relevance
632 int total_vec; in mlx5_irq_table_create() local642 total_vec = pf_vec; in mlx5_irq_table_create()644 total_vec += MLX5_IRQ_CTRL_SF_MAX + in mlx5_irq_table_create()647 total_vec = pci_alloc_irq_vectors(dev->pdev, 1, total_vec, PCI_IRQ_MSIX); in mlx5_irq_table_create()648 if (total_vec < 0) in mlx5_irq_table_create()649 return total_vec; in mlx5_irq_table_create()650 pf_vec = min(pf_vec, total_vec); in mlx5_irq_table_create()652 err = irq_pools_init(dev, total_vec - pf_vec, pf_vec); in mlx5_irq_table_create()