Home
last modified time | relevance | path

Searched refs:total_vec (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c769 int total_vec; in mlx5_irq_table_create() local
781 total_vec = pcif_vec; in mlx5_irq_table_create()
783 total_vec += MLX5_IRQ_CTRL_SF_MAX + in mlx5_irq_table_create()
785 total_vec = min_t(int, total_vec, pci_msix_vec_count(dev->pdev)); in mlx5_irq_table_create()
788 req_vec = pci_msix_can_alloc_dyn(dev->pdev) ? 1 : total_vec; in mlx5_irq_table_create()
793 err = irq_pools_init(dev, total_vec - pcif_vec, pcif_vec); in mlx5_irq_table_create()