Lines Matching refs:nrxq
54 #define for_each_uldrxq(m, i) for (i = 0; i < ((m)->nrxq + (m)->nciq); i++)
111 unsigned int nq = rxq_info->nrxq + rxq_info->nciq; in alloc_uld_rxqs()
118 per_chan = rxq_info->nrxq / adap->params.nports; in alloc_uld_rxqs()
126 if (i == rxq_info->nrxq) { in alloc_uld_rxqs()
233 rxq_info->uldrxq + rxq_info->nrxq); in free_sge_queues_uld()
234 t4_free_uld_rxqs(adap, rxq_info->nrxq, rxq_info->uldrxq); in free_sge_queues_uld()
242 int i, nrxq, ciq_size; in cfg_queues_uld() local
248 if (adap->flags & CXGB4_USING_MSIX && uld_info->nrxq > s->nqs_per_uld) { in cfg_queues_uld()
250 rxq_info->nrxq = roundup(i, adap->params.nports); in cfg_queues_uld()
252 i = min_t(int, uld_info->nrxq, in cfg_queues_uld()
254 rxq_info->nrxq = roundup(i, adap->params.nports); in cfg_queues_uld()
271 nrxq = rxq_info->nrxq + rxq_info->nciq; /* total rxq's */ in cfg_queues_uld()
272 rxq_info->uldrxq = kcalloc(nrxq, sizeof(struct sge_ofld_rxq), in cfg_queues_uld()
279 rxq_info->rspq_id = kcalloc(nrxq, sizeof(unsigned short), GFP_KERNEL); in cfg_queues_uld()
286 for (i = 0; i < rxq_info->nrxq; i++) { in cfg_queues_uld()
300 for (i = rxq_info->nrxq; i < nrxq; i++) { in cfg_queues_uld()
518 lli->nrxq = rxq_info->nrxq; in uld_queue_init()
519 lli->ciq_ids = rxq_info->rspq_id + rxq_info->nrxq; in uld_queue_init()