Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/efa/
Defa_main.c466 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.1/drivers/net/ethernet/amazon/ena/
Dena_netdev.h323 int msix_vecs; member
Dena_netdev.c2049 int msix_vecs, irq_cnt; in ena_enable_msix() local
2058 msix_vecs = ENA_MAX_MSIX_VEC(adapter->max_num_io_queues); in ena_enable_msix()
2060 "Trying to enable MSI-X, vectors %d\n", msix_vecs); in ena_enable_msix()
2063 msix_vecs, PCI_IRQ_MSIX); in ena_enable_msix()
2071 if (irq_cnt != msix_vecs) { in ena_enable_msix()
2074 irq_cnt, msix_vecs); in ena_enable_msix()
2082 adapter->msix_vecs = irq_cnt; in ena_enable_msix()
2215 if (adapter->msix_vecs >= 1) { in ena_free_io_irq()
4433 if ((adapter->msix_vecs >= 1) && (netdev->rx_cpu_rmap)) { in __ena_shutoff()
/Linux-v6.1/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 …]