Searched refs:msix_vecs (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 325 int msix_vecs; member
|
D | ena_netdev.c | 2068 int msix_vecs, irq_cnt; in ena_enable_msix() local 2077 msix_vecs = ENA_MAX_MSIX_VEC(adapter->max_num_io_queues); in ena_enable_msix() 2079 "Trying to enable MSI-X, vectors %d\n", msix_vecs); in ena_enable_msix() 2082 msix_vecs, PCI_IRQ_MSIX); in ena_enable_msix() 2090 if (irq_cnt != msix_vecs) { in ena_enable_msix() 2093 irq_cnt, msix_vecs); in ena_enable_msix() 2101 adapter->msix_vecs = irq_cnt; in ena_enable_msix() 2234 if (adapter->msix_vecs >= 1) { in ena_free_io_irq() 4470 if ((adapter->msix_vecs >= 1) && (netdev->rx_cpu_rmap)) { in __ena_shutoff()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 6266 bnx2_enable_msix(struct bnx2 *bp, int msix_vecs) in bnx2_enable_msix() argument 6287 total_vecs = msix_vecs; in bnx2_enable_msix() 6296 msix_vecs = total_vecs; in bnx2_enable_msix() 6298 msix_vecs--; in bnx2_enable_msix() 6300 bp->irq_nvecs = msix_vecs; in bnx2_enable_msix() 6313 int msix_vecs; in bnx2_setup_int_mode() local 6316 msix_vecs = max(cpus + 1, bp->num_req_tx_rings); in bnx2_setup_int_mode() 6318 msix_vecs = max(cpus, bp->num_req_rx_rings); in bnx2_setup_int_mode() 6320 msix_vecs = max(bp->num_req_rx_rings, bp->num_req_tx_rings); in bnx2_setup_int_mode() 6322 msix_vecs = min(msix_vecs, RX_MAX_RINGS); in bnx2_setup_int_mode() [all …]
|