Searched refs:avail_qs (Results 1 – 1 of 1) sorted by relevance
433 u16 num_msix_per_vf, num_txq, num_rxq, avail_qs; in ice_set_per_vf_res() local464 avail_qs = ice_get_avail_txq_count(pf) / num_vfs; in ice_set_per_vf_res()465 if (!avail_qs) in ice_set_per_vf_res()467 else if (num_txq > avail_qs) in ice_set_per_vf_res()468 num_txq = rounddown_pow_of_two(avail_qs); in ice_set_per_vf_res()472 avail_qs = ice_get_avail_rxq_count(pf) / num_vfs; in ice_set_per_vf_res()473 if (!avail_qs) in ice_set_per_vf_res()475 else if (num_rxq > avail_qs) in ice_set_per_vf_res()476 num_rxq = rounddown_pow_of_two(avail_qs); in ice_set_per_vf_res()