X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcrypto%2Focteontx2%2Fotx2_cryptodev.h;h=a00f3d696e282cadb4299404924eb5ff917233e7;hb=71fa6a99643d167df38605d53c3573a435107d01;hp=8e0ebc292aa29abcc066328ded15d454ad93a45f;hpb=dfacd1f9f726e0e5419f36a982dc51ec7c95cfcc;p=dpdk.git diff --git a/drivers/crypto/octeontx2/otx2_cryptodev.h b/drivers/crypto/octeontx2/otx2_cryptodev.h index 8e0ebc292a..a00f3d696e 100644 --- a/drivers/crypto/octeontx2/otx2_cryptodev.h +++ b/drivers/crypto/octeontx2/otx2_cryptodev.h @@ -6,6 +6,7 @@ #define _OTX2_CRYPTODEV_H_ #include "cpt_common.h" +#include "cpt_hw_types.h" #include "otx2_dev.h" @@ -29,6 +30,15 @@ struct otx2_cpt_vf { /**< MSI-X offsets */ uint8_t err_intr_registered:1; /**< Are error interrupts registered? */ + union cpt_eng_caps hw_caps[CPT_MAX_ENG_TYPES]; + /**< CPT device capabilities */ +}; + +struct cpt_meta_info { + uint64_t deq_op_info[4]; + uint64_t comp_code_sz; + union cpt_res_s cpt_res __rte_aligned(16); + struct cpt_request_info cpt_req; }; #define CPT_LOGTYPE otx2_cpt_logtype @@ -38,6 +48,6 @@ extern int otx2_cpt_logtype; /* * Crypto device driver ID */ -uint8_t otx2_cryptodev_driver_id; +extern uint8_t otx2_cryptodev_driver_id; #endif /* _OTX2_CRYPTODEV_H_ */