Lines Matching refs:avail_qsets
5656 u32 avail_qsets, avail_eth_qsets, avail_uld_qsets; in cfg_queues() local
5686 avail_qsets = min(niqflint, neq); in cfg_queues()
5688 if (avail_qsets < adap->params.nports) { in cfg_queues()
5690 avail_qsets, adap->params.nports); in cfg_queues()
5698 avail_eth_qsets = min_t(u32, avail_qsets, MAX_ETH_QSETS); in cfg_queues()
5746 avail_qsets -= qidx; in cfg_queues()
5756 if (avail_qsets < num_ulds * adap->params.nports) { in cfg_queues()
5760 } else if (avail_qsets < num_ulds * avail_uld_qsets || !n10g) { in cfg_queues()
5766 avail_qsets -= num_ulds * s->ofldqsets; in cfg_queues()
5773 if (avail_qsets < s->max_ethqsets) { in cfg_queues()
5779 avail_qsets -= s->eoqsets; in cfg_queues()
5787 if (avail_qsets >= s->max_ethqsets) in cfg_queues()
5789 else if (avail_qsets >= adap->params.nports) in cfg_queues()
5793 avail_qsets -= s->mirrorqsets; in cfg_queues()