Home
last modified time | relevance | path

Searched refs:v_actual (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
H A Dice_irq.c139 int num_cpus, hw_num_msix, v_other, v_wanted, v_actual; in ice_ena_msix_range() local
196 v_actual = pci_alloc_irq_vectors(pf->pdev, ICE_MIN_MSIX, v_wanted, in ice_ena_msix_range()
198 if (v_actual < 0) { in ice_ena_msix_range()
200 err = v_actual; in ice_ena_msix_range()
204 if (v_actual < v_wanted) { in ice_ena_msix_range()
206 v_wanted, v_actual); in ice_ena_msix_range()
208 if (v_actual < ICE_MIN_MSIX) { in ice_ena_msix_range()
214 int v_remain = v_actual - v_other; in ice_ena_msix_range()
230 return v_actual; in ice_ena_msix_range()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_lib.c319 int min_vectors, v_actual, err; in idpf_intr_req() local
335 v_actual = pci_alloc_irq_vectors(adapter->pdev, min_vectors, in idpf_intr_req()
337 if (v_actual < min_vectors) { in idpf_intr_req()
339 v_actual); in idpf_intr_req()
344 adapter->msix_entries = kcalloc(v_actual, sizeof(struct msix_entry), in idpf_intr_req()
362 if (num_vec_ids < v_actual) { in idpf_intr_req()
367 for (vector = 0; vector < v_actual; vector++) { in idpf_intr_req()
374 adapter->num_msix_entries = v_actual; in idpf_intr_req()
379 adapter->num_avail_msix = v_actual - min_vectors; in idpf_intr_req()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c11794 int v_actual; in i40e_init_msix() local
11913 v_actual = i40e_reserve_msix_vectors(pf, v_budget); in i40e_init_msix()
11915 if (v_actual < I40E_MIN_MSIX) { in i40e_init_msix()
11922 } else if (v_actual == I40E_MIN_MSIX) { in i40e_init_msix()
11929 } else if (v_actual != v_budget) { in i40e_init_msix()
11939 v_actual, v_budget); in i40e_init_msix()
11941 vec = v_actual - 1; in i40e_init_msix()
12005 return v_actual; in i40e_init_msix()