Lines Matching refs:eorxq

153 	struct sge_ofld_rxq *eorxq;  in cxgb4_mqprio_alloc_hw_resources()  local
183 eorxq = &adap->sge.eohw_rxq[pi->first_qset + i]; in cxgb4_mqprio_alloc_hw_resources()
194 eorxq->msix = &adap->msix_info[msix]; in cxgb4_mqprio_alloc_hw_resources()
195 snprintf(eorxq->msix->desc, in cxgb4_mqprio_alloc_hw_resources()
196 sizeof(eorxq->msix->desc), in cxgb4_mqprio_alloc_hw_resources()
200 init_rspq(adap, &eorxq->rspq, in cxgb4_mqprio_alloc_hw_resources()
206 eorxq->fl.size = CXGB4_EOHW_FLQ_DEFAULT_DESC_NUM; in cxgb4_mqprio_alloc_hw_resources()
208 ret = t4_sge_alloc_rxq(adap, &eorxq->rspq, false, in cxgb4_mqprio_alloc_hw_resources()
209 dev, msix, &eorxq->fl, in cxgb4_mqprio_alloc_hw_resources()
218 eorxq->rspq.cntxt_id); in cxgb4_mqprio_alloc_hw_resources()
224 ret = request_irq(eorxq->msix->vec, t4_sge_intr_msix, 0, in cxgb4_mqprio_alloc_hw_resources()
225 eorxq->msix->desc, &eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
229 cxgb4_set_msix_aff(adap, eorxq->msix->vec, in cxgb4_mqprio_alloc_hw_resources()
230 &eorxq->msix->aff_mask, i); in cxgb4_mqprio_alloc_hw_resources()
234 cxgb4_enable_rx(adap, &eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
241 eorxq = &adap->sge.eohw_rxq[pi->first_qset + i]; in cxgb4_mqprio_alloc_hw_resources()
244 cxgb4_quiesce_rx(&eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
247 cxgb4_clear_msix_aff(eorxq->msix->vec, in cxgb4_mqprio_alloc_hw_resources()
248 eorxq->msix->aff_mask); in cxgb4_mqprio_alloc_hw_resources()
249 free_irq(eorxq->msix->vec, &eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
255 eorxq = &adap->sge.eohw_rxq[pi->first_qset + i]; in cxgb4_mqprio_alloc_hw_resources()
258 if (eorxq->rspq.desc) in cxgb4_mqprio_alloc_hw_resources()
259 free_rspq_fl(adap, &eorxq->rspq, &eorxq->fl); in cxgb4_mqprio_alloc_hw_resources()
260 if (eorxq->msix) in cxgb4_mqprio_alloc_hw_resources()
261 cxgb4_free_msix_idx_in_bmap(adap, eorxq->msix->idx); in cxgb4_mqprio_alloc_hw_resources()
276 struct sge_ofld_rxq *eorxq; in cxgb4_mqprio_free_hw_resources() local
289 eorxq = &adap->sge.eohw_rxq[pi->first_qset + i]; in cxgb4_mqprio_free_hw_resources()
297 cxgb4_quiesce_rx(&eorxq->rspq); in cxgb4_mqprio_free_hw_resources()
300 cxgb4_clear_msix_aff(eorxq->msix->vec, in cxgb4_mqprio_free_hw_resources()
301 eorxq->msix->aff_mask); in cxgb4_mqprio_free_hw_resources()
302 free_irq(eorxq->msix->vec, &eorxq->rspq); in cxgb4_mqprio_free_hw_resources()
303 cxgb4_free_msix_idx_in_bmap(adap, eorxq->msix->idx); in cxgb4_mqprio_free_hw_resources()
306 free_rspq_fl(adap, &eorxq->rspq, &eorxq->fl); in cxgb4_mqprio_free_hw_resources()