Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c462 u16 num_msix_per_vf, num_txq, num_rxq, avail_qs; in ice_set_per_vf_res() local
493 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()