Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c596 static int irq_pools_init(struct mlx5_core_dev *dev, int sf_vec, int pcif_vec, in irq_pools_init() argument
605 table->pcif_pool = irq_pool_alloc(dev, 0, pcif_vec, NULL, in irq_pools_init()
628 table->sf_ctrl_pool = irq_pool_alloc(dev, pcif_vec, num_sf_ctrl, in irq_pools_init()
639 table->sf_comp_pool = irq_pool_alloc(dev, pcif_vec + num_sf_ctrl, in irq_pools_init()
731 int pcif_vec; in mlx5_irq_table_create() local
742 pcif_vec = MLX5_CAP_GEN(dev, num_ports) * num_online_cpus() + 1; in mlx5_irq_table_create()
743 pcif_vec = min_t(int, pcif_vec, num_eqs); in mlx5_irq_table_create()
744 pcif_vec = min_t(int, pcif_vec, pci_msix_vec_count(dev->pdev)); in mlx5_irq_table_create()
746 total_vec = pcif_vec; in mlx5_irq_table_create()
759 pcif_vec = min_t(int, n, pcif_vec); in mlx5_irq_table_create()
[all …]