Searched refs:msix_vecs (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/infiniband/hw/efa/ |
D | efa_main.c | 466 int msix_vecs, irq_num; in efa_enable_msix() local 472 msix_vecs = min_t(int, pci_msix_vec_count(dev->pdev), in efa_enable_msix() 475 msix_vecs); in efa_enable_msix() 478 irq_num = pci_alloc_irq_vectors(dev->pdev, msix_vecs, in efa_enable_msix() 479 msix_vecs, PCI_IRQ_MSIX); in efa_enable_msix() 487 if (irq_num != msix_vecs) { in efa_enable_msix() 491 irq_num, msix_vecs); in efa_enable_msix()
|
/Linux-v6.6/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 330 int msix_vecs; member
|
D | ena_netdev.c | 2124 int msix_vecs, irq_cnt; in ena_enable_msix() local 2133 msix_vecs = ENA_MAX_MSIX_VEC(adapter->max_num_io_queues); in ena_enable_msix() 2135 "Trying to enable MSI-X, vectors %d\n", msix_vecs); in ena_enable_msix() 2138 msix_vecs, PCI_IRQ_MSIX); in ena_enable_msix() 2146 if (irq_cnt != msix_vecs) { in ena_enable_msix() 2149 irq_cnt, msix_vecs); in ena_enable_msix() 2157 adapter->msix_vecs = irq_cnt; in ena_enable_msix() 2290 if (adapter->msix_vecs >= 1) { in ena_free_io_irq() 4601 if ((adapter->msix_vecs >= 1) && (netdev->rx_cpu_rmap)) { in __ena_shutoff()
|
/Linux-v6.6/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 6249 bnx2_enable_msix(struct bnx2 *bp, int msix_vecs) in bnx2_enable_msix() argument 6270 total_vecs = msix_vecs; in bnx2_enable_msix() 6279 msix_vecs = total_vecs; in bnx2_enable_msix() 6281 msix_vecs--; in bnx2_enable_msix() 6283 bp->irq_nvecs = msix_vecs; in bnx2_enable_msix() 6296 int msix_vecs; in bnx2_setup_int_mode() local 6299 msix_vecs = max(cpus + 1, bp->num_req_tx_rings); in bnx2_setup_int_mode() 6301 msix_vecs = max(cpus, bp->num_req_rx_rings); in bnx2_setup_int_mode() 6303 msix_vecs = max(bp->num_req_rx_rings, bp->num_req_tx_rings); in bnx2_setup_int_mode() 6305 msix_vecs = min(msix_vecs, RX_MAX_RINGS); in bnx2_setup_int_mode() [all …]
|