crypto/octeontx2: discover capabilities
[dpdk.git] / drivers / crypto / octeontx2 / otx2_cryptodev.h
index 8e0ebc2..e7a1730 100644 (file)
@@ -29,6 +29,8 @@ 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 */
 };
 
 #define CPT_LOGTYPE otx2_cpt_logtype
@@ -38,6 +40,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_ */