Home
last modified time | relevance | path

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

/drivers/infiniband/hw/efa/
Defa_main.c342 int msix_vecs, irq_num; in efa_enable_msix() local
345 msix_vecs = EFA_NUM_MSIX_VEC; in efa_enable_msix()
347 msix_vecs); in efa_enable_msix()
350 irq_num = pci_alloc_irq_vectors(dev->pdev, msix_vecs, in efa_enable_msix()
351 msix_vecs, PCI_IRQ_MSIX); in efa_enable_msix()
359 if (irq_num != msix_vecs) { in efa_enable_msix()
363 irq_num, msix_vecs); in efa_enable_msix()
/drivers/net/ethernet/amazon/ena/
Dena_netdev.h336 int msix_vecs; member
Dena_netdev.c2086 int msix_vecs, irq_cnt; in ena_enable_msix() local
2095 msix_vecs = ENA_MAX_MSIX_VEC(adapter->max_num_io_queues); in ena_enable_msix()
2097 "Trying to enable MSI-X, vectors %d\n", msix_vecs); in ena_enable_msix()
2100 msix_vecs, PCI_IRQ_MSIX); in ena_enable_msix()
2108 if (irq_cnt != msix_vecs) { in ena_enable_msix()
2111 irq_cnt, msix_vecs); in ena_enable_msix()
2119 adapter->msix_vecs = irq_cnt; in ena_enable_msix()
2252 if (adapter->msix_vecs >= 1) { in ena_free_io_irq()
4515 if ((adapter->msix_vecs >= 1) && (netdev->rx_cpu_rmap)) { in __ena_shutoff()
/drivers/net/ethernet/broadcom/
Dbnx2.c6265 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 …]