Lines Matching refs:qidx
33 static int otx2_qos_sq_aura_pool_init(struct otx2_nic *pfvf, int qidx)
56 pool_id = otx2_get_pool_idx(pfvf, AURA_NIX_SQ, qidx);
76 sq = &qset->sq[qidx];
116 static void otx2_qos_sq_free_sqbs(struct otx2_nic *pfvf, int qidx)
124 sq = &qset->sq[qidx];
140 sq = &qset->sq[qidx];
151 static void otx2_qos_sqb_flush(struct otx2_nic *pfvf, int qidx)
157 incr = (u64)qidx << 32;
165 static int otx2_qos_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id)
176 cn10k_sq_aq->qidx = qidx;
185 sq_aq->qidx = qidx;
222 int qidx;
224 qidx = find_first_zero_bit(pfvf->qos.qos_sq_bmap,
227 return qidx == pfvf->hw.tc_tx_queues ? -ENOSPC : qidx;
230 void otx2_qos_free_qid(struct otx2_nic *pfvf, int qidx)
232 clear_bit(qidx, pfvf->qos.qos_sq_bmap);
235 int otx2_qos_enable_sq(struct otx2_nic *pfvf, int qidx)
243 sq_idx = hw->non_qos_queues + qidx;
259 void otx2_qos_disable_sq(struct otx2_nic *pfvf, int qidx)
267 sq_idx = hw->non_qos_queues + qidx;