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()
79 u8 queue_id = pri2cos[i]; in bnxt_hwrm_queue_pri2cos_qcfg() local
82 tc = bnxt_queue_to_tc(bp, queue_id); in bnxt_hwrm_queue_pri2cos_qcfg()
108 cos2bw.queue_id = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_cos2bw_cfg()
125 memcpy(data, &cos2bw.queue_id, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_cfg()
127 req.queue_id0 = cos2bw.queue_id; in bnxt_hwrm_queue_cos2bw_cfg()
152 data = &resp->queue_id0 + offsetof(struct bnxt_cos2bw_cfg, queue_id); in bnxt_hwrm_queue_cos2bw_qcfg()
156 memcpy(&cos2bw.queue_id, data, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_qcfg()
158 cos2bw.queue_id = resp->queue_id0; in bnxt_hwrm_queue_cos2bw_qcfg()
160 tc = bnxt_queue_to_tc(bp, cos2bw.queue_id); in bnxt_hwrm_queue_cos2bw_qcfg()