Searched refs:v_budget (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 1806 int v_budget, vector; in fm10k_init_msix_capability() local 1814 v_budget = max(interface->num_rx_queues, interface->num_tx_queues); in fm10k_init_msix_capability() 1815 v_budget = min_t(u16, v_budget, num_online_cpus()); in fm10k_init_msix_capability() 1818 v_budget += NON_Q_VECTORS; in fm10k_init_msix_capability() 1826 v_budget = min_t(int, v_budget, hw->mac.max_msix_vectors); in fm10k_init_msix_capability() 1835 for (vector = 0; vector < v_budget; vector++) in fm10k_init_msix_capability() 1839 v_budget = pci_enable_msix_range(interface->pdev, in fm10k_init_msix_capability() 1842 v_budget); in fm10k_init_msix_capability() 1843 if (v_budget < 0) { in fm10k_init_msix_capability() 1846 return v_budget; in fm10k_init_msix_capability() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 2676 int vector, v_budget; in ixgbevf_set_interrupt_capability() local 2684 v_budget = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbevf_set_interrupt_capability() 2685 v_budget = min_t(int, v_budget, num_online_cpus()); in ixgbevf_set_interrupt_capability() 2686 v_budget += NON_Q_VECTORS; in ixgbevf_set_interrupt_capability() 2688 adapter->msix_entries = kcalloc(v_budget, in ixgbevf_set_interrupt_capability() 2693 for (vector = 0; vector < v_budget; vector++) in ixgbevf_set_interrupt_capability() 2700 return ixgbevf_acquire_msix_vectors(adapter, v_budget); in ixgbevf_set_interrupt_capability()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 1647 int vector, v_budget; in iavf_set_interrupt_capability() local 1662 v_budget = min_t(int, pairs + NONQ_VECS, in iavf_set_interrupt_capability() 1665 adapter->msix_entries = kcalloc(v_budget, in iavf_set_interrupt_capability() 1672 for (vector = 0; vector < v_budget; vector++) in iavf_set_interrupt_capability() 1675 err = iavf_acquire_msix_vectors(adapter, v_budget); in iavf_set_interrupt_capability()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 11788 int v_budget, i; in i40e_init_msix() local 11811 v_budget = 0; in i40e_init_msix() 11815 v_budget++; in i40e_init_msix() 11834 v_budget++; in i40e_init_msix() 11849 v_budget += pf->num_iwarp_msix; in i40e_init_msix() 11879 v_budget += vmdq_vecs; in i40e_init_msix() 11900 v_budget += pf->num_lan_msix; in i40e_init_msix() 11906 for (i = 0; i < v_budget; i++) in i40e_init_msix() 11908 v_actual = i40e_reserve_msix_vectors(pf, v_budget); in i40e_init_msix() 11924 } else if (v_actual != v_budget) { in i40e_init_msix() [all …]
|