Searched refs:total_vec (Results 1 – 1 of 1) sorted by relevance
718 int total_vec; in mlx5_irq_table_create() local730 total_vec = pcif_vec; in mlx5_irq_table_create()732 total_vec += MLX5_MAX_MSIX_PER_SF * mlx5_sf_max_functions(dev); in mlx5_irq_table_create()733 total_vec = min_t(int, total_vec, pci_msix_vec_count(dev->pdev)); in mlx5_irq_table_create()736 req_vec = pci_msix_can_alloc_dyn(dev->pdev) ? 1 : total_vec; in mlx5_irq_table_create()741 err = irq_pools_init(dev, total_vec - pcif_vec, pcif_vec); in mlx5_irq_table_create()