Searched refs:msix_vecs (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/efa/ |
D | efa_main.c | 362 int msix_vecs, irq_num; in efa_enable_msix() local 365 msix_vecs = EFA_NUM_MSIX_VEC; in efa_enable_msix() 367 msix_vecs); in efa_enable_msix() 370 irq_num = pci_alloc_irq_vectors(dev->pdev, msix_vecs, in efa_enable_msix() 371 msix_vecs, PCI_IRQ_MSIX); in efa_enable_msix() 379 if (irq_num != msix_vecs) { in efa_enable_msix() 382 irq_num, msix_vecs); in efa_enable_msix()
|
/Linux-v5.10/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 340 int msix_vecs; member
|
D | ena_netdev.c | 1954 int msix_vecs, irq_cnt; in ena_enable_msix() local 1963 msix_vecs = ENA_MAX_MSIX_VEC(adapter->max_num_io_queues); in ena_enable_msix() 1965 "Trying to enable MSI-X, vectors %d\n", msix_vecs); in ena_enable_msix() 1968 msix_vecs, PCI_IRQ_MSIX); in ena_enable_msix() 1976 if (irq_cnt != msix_vecs) { in ena_enable_msix() 1979 irq_cnt, msix_vecs); in ena_enable_msix() 1987 adapter->msix_vecs = irq_cnt; in ena_enable_msix() 2120 if (adapter->msix_vecs >= 1) { in ena_free_io_irq() 4372 if ((adapter->msix_vecs >= 1) && (netdev->rx_cpu_rmap)) { in __ena_shutoff()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 6265 bnx2_enable_msix(struct bnx2 *bp, int msix_vecs) in bnx2_enable_msix() argument 6286 total_vecs = msix_vecs; in bnx2_enable_msix() 6295 msix_vecs = total_vecs; in bnx2_enable_msix() 6297 msix_vecs--; in bnx2_enable_msix() 6299 bp->irq_nvecs = msix_vecs; in bnx2_enable_msix() 6312 int msix_vecs; in bnx2_setup_int_mode() local 6315 msix_vecs = max(cpus + 1, bp->num_req_tx_rings); in bnx2_setup_int_mode() 6317 msix_vecs = max(cpus, bp->num_req_rx_rings); in bnx2_setup_int_mode() 6319 msix_vecs = max(bp->num_req_rx_rings, bp->num_req_tx_rings); in bnx2_setup_int_mode() 6321 msix_vecs = min(msix_vecs, RX_MAX_RINGS); in bnx2_setup_int_mode() [all …]
|