crypto/octeontx2: remove useless union member
[dpdk.git] / drivers / crypto / octeontx2 / otx2_cryptodev_mbox.h
index a298718..03323e4 100644 (file)
@@ -7,6 +7,11 @@
 
 #include <rte_cryptodev.h>
 
+#include "otx2_cryptodev_hw_access.h"
+
+int otx2_cpt_hardware_caps_get(const struct rte_cryptodev *dev,
+                             union cpt_eng_caps *hw_caps);
+
 int otx2_cpt_available_queues_get(const struct rte_cryptodev *dev,
                                  uint16_t *nb_queues);
 
@@ -16,10 +21,17 @@ int otx2_cpt_queues_detach(const struct rte_cryptodev *dev);
 
 int otx2_cpt_msix_offsets_get(const struct rte_cryptodev *dev);
 
+__rte_internal
 int otx2_cpt_af_reg_read(const struct rte_cryptodev *dev, uint64_t reg,
-                        uint64_t *val);
+                        uint8_t blkaddr, uint64_t *val);
 
+__rte_internal
 int otx2_cpt_af_reg_write(const struct rte_cryptodev *dev, uint64_t reg,
-                         uint64_t val);
+                         uint8_t blkaddr, uint64_t val);
+
+int otx2_cpt_qp_ethdev_bind(const struct rte_cryptodev *dev,
+                           struct otx2_cpt_qp *qp, uint16_t port_id);
+
+int otx2_cpt_inline_init(const struct rte_cryptodev *dev);
 
 #endif /* _OTX2_CRYPTODEV_MBOX_H_ */