Searched refs:msix_vecs (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/al_eth/ |
H A D | al_eth.c | 1993 int i, msix_vecs, rc, count; in al_eth_enable_msix() local 1996 msix_vecs = 1 + adapter->num_rx_queues + adapter->num_tx_queues; in al_eth_enable_msix() 1999 "Try to enable MSIX, vector numbers = %d\n", msix_vecs); in al_eth_enable_msix() 2001 adapter->msix_entries = malloc(msix_vecs*sizeof(*adapter->msix_entries), in al_eth_enable_msix() 2023 count = msix_vecs + 2; /* entries start from 2 */ in al_eth_enable_msix() 2028 "vectors %d\n", msix_vecs+2); in al_eth_enable_msix() 2033 if (count != msix_vecs + 2) { in al_eth_enable_msix() 2035 "vectors %d, allocated %d\n", msix_vecs+2, count); in al_eth_enable_msix() 2040 for (i = 0; i < msix_vecs; i++) in al_eth_enable_msix() 2044 " vectors %d\n", msix_vecs); in al_eth_enable_msix() [all …]
|
H A D | al_eth.h | 286 int msix_vecs; member
|
/freebsd/sys/dev/ena/ |
H A D | ena.c | 1736 int msix_vecs, msix_req; in ena_enable_msix() local 1745 msix_vecs = ENA_MAX_MSIX_VEC(adapter->max_num_io_queues); in ena_enable_msix() 1747 adapter->msix_entries = malloc(msix_vecs * sizeof(struct msix_entry), in ena_enable_msix() 1750 ena_log(dev, DBG, "trying to enable MSI-X, vectors: %d\n", msix_vecs); in ena_enable_msix() 1752 for (i = 0; i < msix_vecs; i++) { in ena_enable_msix() 1758 msix_req = msix_vecs; in ena_enable_msix() 1759 rc = pci_alloc_msix(dev, &msix_vecs); in ena_enable_msix() 1762 msix_vecs, rc); in ena_enable_msix() 1768 if (msix_vecs != msix_req) { in ena_enable_msix() 1769 if (msix_vecs == ENA_ADMIN_MSIX_VEC) { in ena_enable_msix() [all …]
|
H A D | ena.h | 439 int msix_vecs; member
|
H A D | ena_sysctl.c | 848 if (tmp > (adapter->msix_vecs - ENA_ADMIN_MSIX_VEC)) { in ena_sysctl_io_queues_nb() 851 adapter->msix_vecs - ENA_ADMIN_MSIX_VEC); in ena_sysctl_io_queues_nb()
|