Searched refs:avail_qs (Results 1 – 1 of 1) sorted by relevance
462 u16 num_msix_per_vf, num_txq, num_rxq, avail_qs; in ice_set_per_vf_res() local493 avail_qs = ice_get_avail_txq_count(pf) / num_vfs; in ice_set_per_vf_res()494 if (!avail_qs) in ice_set_per_vf_res()496 else if (num_txq > avail_qs) in ice_set_per_vf_res()497 num_txq = rounddown_pow_of_two(avail_qs); in ice_set_per_vf_res()501 avail_qs = ice_get_avail_rxq_count(pf) / num_vfs; in ice_set_per_vf_res()502 if (!avail_qs) in ice_set_per_vf_res()504 else if (num_rxq > avail_qs) in ice_set_per_vf_res()505 num_rxq = rounddown_pow_of_two(avail_qs); in ice_set_per_vf_res()