Home
last modified time | relevance | path

Searched refs:cn10k_sq_aq (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_dcbnl.c143 struct nix_cn10k_aq_enq_req *cn10k_sq_aq; in otx2_pfc_update_sq_smq_mapping() local
156 cn10k_sq_aq = otx2_mbox_alloc_msg_nix_cn10k_aq_enq(&pfvf->mbox); in otx2_pfc_update_sq_smq_mapping()
157 if (!cn10k_sq_aq) in otx2_pfc_update_sq_smq_mapping()
161 cn10k_sq_aq->qidx = prio; in otx2_pfc_update_sq_smq_mapping()
162 cn10k_sq_aq->ctype = NIX_AQ_CTYPE_SQ; in otx2_pfc_update_sq_smq_mapping()
163 cn10k_sq_aq->op = NIX_AQ_INSTOP_WRITE; in otx2_pfc_update_sq_smq_mapping()
166 cn10k_sq_aq->sq.ena = 1; in otx2_pfc_update_sq_smq_mapping()
167 cn10k_sq_aq->sq_mask.ena = 1; in otx2_pfc_update_sq_smq_mapping()
168 cn10k_sq_aq->sq_mask.smq = GENMASK(9, 0); in otx2_pfc_update_sq_smq_mapping()
169 cn10k_sq_aq->sq.smq = otx2_get_smq_idx(pfvf, prio); in otx2_pfc_update_sq_smq_mapping()
H A Dqos_sq.c167 struct nix_cn10k_aq_enq_req *cn10k_sq_aq; in otx2_qos_ctx_disable() local
173 cn10k_sq_aq = otx2_mbox_alloc_msg_nix_cn10k_aq_enq(&pfvf->mbox); in otx2_qos_ctx_disable()
174 if (!cn10k_sq_aq) in otx2_qos_ctx_disable()
176 cn10k_sq_aq->qidx = qidx; in otx2_qos_ctx_disable()
177 cn10k_sq_aq->sq.ena = 0; in otx2_qos_ctx_disable()
178 cn10k_sq_aq->sq_mask.ena = 1; in otx2_qos_ctx_disable()
179 cn10k_sq_aq->ctype = NIX_AQ_CTYPE_SQ; in otx2_qos_ctx_disable()
180 cn10k_sq_aq->op = NIX_AQ_INSTOP_WRITE; in otx2_qos_ctx_disable()