Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1806 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()
1829 interface->msix_entries = kcalloc(v_budget, sizeof(struct msix_entry), 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()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c2669 int vector, v_budget; in ixgbevf_set_interrupt_capability() local
2677 v_budget = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbevf_set_interrupt_capability()
2678 v_budget = min_t(int, v_budget, num_online_cpus()); in ixgbevf_set_interrupt_capability()
2679 v_budget += NON_Q_VECTORS; in ixgbevf_set_interrupt_capability()
2681 adapter->msix_entries = kcalloc(v_budget, in ixgbevf_set_interrupt_capability()
2686 for (vector = 0; vector < v_budget; vector++) in ixgbevf_set_interrupt_capability()
2693 return ixgbevf_acquire_msix_vectors(adapter, v_budget); in ixgbevf_set_interrupt_capability()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_main.c1638 int vector, v_budget; in iavf_set_interrupt_capability() local
1653 v_budget = min_t(int, pairs + NONQ_VECS, in iavf_set_interrupt_capability()
1656 adapter->msix_entries = kcalloc(v_budget, in iavf_set_interrupt_capability()
1663 for (vector = 0; vector < v_budget; vector++) in iavf_set_interrupt_capability()
1666 err = iavf_acquire_msix_vectors(adapter, v_budget); in iavf_set_interrupt_capability()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_main.c11728 int v_budget, i; in i40e_init_msix() local
11751 v_budget = 0; in i40e_init_msix()
11755 v_budget++; in i40e_init_msix()
11774 v_budget++; in i40e_init_msix()
11789 v_budget += pf->num_iwarp_msix; in i40e_init_msix()
11819 v_budget += vmdq_vecs; in i40e_init_msix()
11840 v_budget += pf->num_lan_msix; in i40e_init_msix()
11841 pf->msix_entries = kcalloc(v_budget, sizeof(struct msix_entry), in i40e_init_msix()
11846 for (i = 0; i < v_budget; i++) in i40e_init_msix()
11848 v_actual = i40e_reserve_msix_vectors(pf, v_budget); in i40e_init_msix()
[all …]