Lines Matching refs:queue_id
24 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc() argument
29 if (bp->q_info[i].queue_id == queue_id) { in bnxt_queue_to_tc()
57 pri2cos[i] = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_pri2cos_cfg()
78 u8 queue_id = pri2cos[i]; in bnxt_hwrm_queue_pri2cos_qcfg() local
81 tc = bnxt_queue_to_tc(bp, queue_id); in bnxt_hwrm_queue_pri2cos_qcfg()
107 cos2bw.queue_id = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_cos2bw_cfg()
124 memcpy(data, &cos2bw.queue_id, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_cfg()
126 req.queue_id0 = cos2bw.queue_id; in bnxt_hwrm_queue_cos2bw_cfg()
150 data = &resp->queue_id0 + offsetof(struct bnxt_cos2bw_cfg, queue_id); in bnxt_hwrm_queue_cos2bw_qcfg()
154 memcpy(&cos2bw.queue_id, data, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_qcfg()
156 cos2bw.queue_id = resp->queue_id0; in bnxt_hwrm_queue_cos2bw_qcfg()
158 tc = bnxt_queue_to_tc(bp, cos2bw.queue_id); in bnxt_hwrm_queue_cos2bw_qcfg()