Lines Matching refs:queue_id
25 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc() argument
30 if (bp->q_info[i].queue_id == queue_id) { in bnxt_queue_to_tc()
61 pri2cos[i] = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_pri2cos_cfg()
84 u8 queue_id = pri2cos[i]; in bnxt_hwrm_queue_pri2cos_qcfg() local
87 tc = bnxt_queue_to_tc(bp, queue_id); in bnxt_hwrm_queue_pri2cos_qcfg()
116 cos2bw.queue_id = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_cos2bw_cfg()
133 memcpy(data, &cos2bw.queue_id, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_cfg()
135 req->queue_id0 = cos2bw.queue_id; in bnxt_hwrm_queue_cos2bw_cfg()
161 data = &resp->queue_id0 + offsetof(struct bnxt_cos2bw_cfg, queue_id); in bnxt_hwrm_queue_cos2bw_qcfg()
165 memcpy(&cos2bw.queue_id, data, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_qcfg()
167 cos2bw.queue_id = resp->queue_id0; in bnxt_hwrm_queue_cos2bw_qcfg()
169 tc = bnxt_queue_to_tc(bp, cos2bw.queue_id); in bnxt_hwrm_queue_cos2bw_qcfg()