Searched refs:total_vec (Results 1 – 1 of 1) sorted by relevance
730 int total_vec; in mlx5_irq_table_create() local746 total_vec = pcif_vec; in mlx5_irq_table_create()748 total_vec += MLX5_MAX_MSIX_PER_SF * mlx5_sf_max_functions(dev); in mlx5_irq_table_create()749 total_vec = min_t(int, total_vec, pci_msix_vec_count(dev->pdev)); in mlx5_irq_table_create()751 req_vec = pci_msix_can_alloc_dyn(dev->pdev) ? 1 : total_vec; in mlx5_irq_table_create()760 total_vec = min_t(int, n, total_vec); in mlx5_irq_table_create()763 err = irq_pools_init(dev, total_vec - pcif_vec, pcif_vec, dynamic_vec); in mlx5_irq_table_create()