From: Tejasree Kondoj Date: Fri, 31 Jul 2020 13:51:52 +0000 (+0530) Subject: common/octeontx2: sync cpt mailbox X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b0179d007b1085ff8f4c67c2421baedf81f84777;p=dpdk.git common/octeontx2: sync cpt mailbox This patch syncs the pmd mailbox with the cpt pf driver. Signed-off-by: Ankur Dwivedi Signed-off-by: Tejasree Kondoj Acked-by: Anoob Joseph --- diff --git a/drivers/common/octeontx2/otx2_mbox.h b/drivers/common/octeontx2/otx2_mbox.h index aebb217ecb..9a1e8a7eac 100644 --- a/drivers/common/octeontx2/otx2_mbox.h +++ b/drivers/common/octeontx2/otx2_mbox.h @@ -1242,6 +1242,8 @@ struct cpt_rd_wr_reg_msg { uint64_t __otx2_io *ret_val; uint64_t __otx2_io val; uint8_t __otx2_io is_write; + /* BLKADDR_CPT0/BLKADDR_CPT1 or 0 for BLKADDR_CPT0 */ + uint8_t __otx2_io blkaddr; }; struct cpt_set_crypto_grp_req_msg { @@ -1253,11 +1255,14 @@ struct cpt_lf_alloc_req_msg { struct mbox_msghdr hdr; uint16_t __otx2_io nix_pf_func; uint16_t __otx2_io sso_pf_func; + uint16_t __otx2_io eng_grpmask; + /* BLKADDR_CPT0/BLKADDR_CPT1 or 0 for BLKADDR_CPT0 */ + uint8_t __otx2_io blkaddr; }; struct cpt_lf_alloc_rsp_msg { struct mbox_msghdr hdr; - uint8_t __otx2_io crypto_eng_grp; + uint16_t __otx2_io eng_grpmsk; }; #define CPT_INLINE_INBOUND 0