rxq_info 990 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c struct sge_uld_rxq_info *rxq_info = NULL; rxq_info 994 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c rxq_info = s->uld_rxq_info[CXGB4_ULD_RDMA]; rxq_info 1032 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (rxq_info) rxq_info 1033 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; rxq_info 138 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info, bool lro) rxq_info 140 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c unsigned int nq = rxq_info->nrxq + rxq_info->nciq; rxq_info 142 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_ofld_rxq *q = rxq_info->uldrxq; rxq_info 143 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c unsigned short *ids = rxq_info->rspq_id; rxq_info 147 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c per_chan = rxq_info->nrxq / adap->params.nports; rxq_info 155 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c if (i == rxq_info->nrxq) { rxq_info 157 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c per_chan = rxq_info->nciq / adap->params.nports; rxq_info 179 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->msix_tbl[i] = bmap_idx; rxq_info 186 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c q = rxq_info->uldrxq; rxq_info 198 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 202 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->msix_tbl = kcalloc((rxq_info->nrxq + rxq_info->nciq), rxq_info 205 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c if (!rxq_info->msix_tbl) rxq_info 209 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c ret = !(!alloc_uld_rxqs(adap, rxq_info, lro)); rxq_info 220 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; rxq_info 243 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 260 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c if (rxq_info->nciq) rxq_info 261 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c t4_free_uld_rxqs(adap, rxq_info->nciq, rxq_info 262 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->uldrxq + rxq_info->nrxq); rxq_info 263 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c t4_free_uld_rxqs(adap, rxq_info->nrxq, rxq_info->uldrxq); rxq_info 265 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c kfree(rxq_info->msix_tbl); rxq_info 272 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info; rxq_info 275 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info = kzalloc(sizeof(*rxq_info), GFP_KERNEL); rxq_info 276 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c if (!rxq_info) rxq_info 281 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nrxq = roundup(i, adap->params.nports); rxq_info 285 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nrxq = roundup(i, adap->params.nports); rxq_info 288 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nciq = 0; rxq_info 291 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nciq = min_t(int, s->nqs_per_uld, rxq_info 294 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nciq = min_t(int, MAX_OFLD_QSETS, rxq_info 296 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nciq = ((rxq_info->nciq / adap->params.nports) * rxq_info 298 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nciq = max_t(int, rxq_info->nciq, rxq_info 302 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c nrxq = rxq_info->nrxq + rxq_info->nciq; /* total rxq's */ rxq_info 303 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->uldrxq = kcalloc(nrxq, sizeof(struct sge_ofld_rxq), rxq_info 305 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c if (!rxq_info->uldrxq) { rxq_info 306 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c kfree(rxq_info); rxq_info 310 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->rspq_id = kcalloc(nrxq, sizeof(unsigned short), GFP_KERNEL); rxq_info 311 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c if (!rxq_info->rspq_id) { rxq_info 312 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c kfree(rxq_info->uldrxq); rxq_info 313 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c kfree(rxq_info); rxq_info 317 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c for (i = 0; i < rxq_info->nrxq; i++) { rxq_info 318 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_ofld_rxq *r = &rxq_info->uldrxq[i]; rxq_info 331 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c for (i = rxq_info->nrxq; i < nrxq; i++) { rxq_info 332 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_ofld_rxq *r = &rxq_info->uldrxq[i]; rxq_info 338 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c memcpy(rxq_info->name, uld_info->name, IFNAMSIZ); rxq_info 339 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c adap->sge.uld_rxq_info[uld_type] = rxq_info; rxq_info 346 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 349 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c kfree(rxq_info->rspq_id); rxq_info 350 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c kfree(rxq_info->uldrxq); rxq_info 351 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c kfree(rxq_info); rxq_info 357 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 362 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c for_each_uldrxq(rxq_info, idx) { rxq_info 363 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c bmap_idx = rxq_info->msix_tbl[idx]; rxq_info 368 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c &rxq_info->uldrxq[idx].rspq); rxq_info 379 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c bmap_idx = rxq_info->msix_tbl[idx]; rxq_info 383 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_irq(minfo->vec, &rxq_info->uldrxq[idx].rspq); rxq_info 391 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 395 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c for_each_uldrxq(rxq_info, idx) { rxq_info 396 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c bmap_idx = rxq_info->msix_tbl[idx]; rxq_info 401 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_irq(minfo->vec, &rxq_info->uldrxq[idx].rspq); rxq_info 407 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 411 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c for_each_uldrxq(rxq_info, idx) { rxq_info 412 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c bmap_idx = rxq_info->msix_tbl[idx]; rxq_info 415 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c adap->port[0]->name, rxq_info->name, idx); rxq_info 441 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 444 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c for_each_uldrxq(rxq_info, idx) rxq_info 445 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c enable_rx(adap, &rxq_info->uldrxq[idx].rspq); rxq_info 450 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 453 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c for_each_uldrxq(rxq_info, idx) rxq_info 454 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c quiesce_rx(adap, &rxq_info->uldrxq[idx].rspq); rxq_info 570 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct sge_uld_rxq_info *rxq_info = adap->sge.uld_rxq_info[uld_type]; rxq_info 574 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->rxq_ids = rxq_info->rspq_id; rxq_info 575 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->nrxq = rxq_info->nrxq; rxq_info 576 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->ciq_ids = rxq_info->rspq_id + rxq_info->nrxq; rxq_info 577 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->nciq = rxq_info->nciq;