crypto/ipsec_mb: support snow3g digest appended ops
[dpdk.git] / drivers / crypto / zuc / zuc_pmd_private.h
index 428efd4..d868489 100644 (file)
@@ -5,13 +5,13 @@
 #ifndef _ZUC_PMD_PRIVATE_H_
 #define _ZUC_PMD_PRIVATE_H_
 
-#include <sso_zuc.h>
+#include <intel-ipsec-mb.h>
 
 #define CRYPTODEV_NAME_ZUC_PMD         crypto_zuc
-/**< KASUMI PMD device name */
+/**< ZUC PMD device name */
 
 /** ZUC PMD LOGTYPE DRIVER */
-int zuc_logtype_driver;
+extern int zuc_logtype_driver;
 #define ZUC_LOG(level, fmt, ...)  \
        rte_log(RTE_LOG_ ## level, zuc_logtype_driver,  \
                        "%s()... line %u: " fmt "\n", __func__, __LINE__,  \
@@ -24,6 +24,8 @@ int zuc_logtype_driver;
 struct zuc_private {
        unsigned max_nb_queue_pairs;
        /**< Max number of queue pairs supported by device */
+       MB_MGR *mb_mgr;
+       /**< Multi-buffer instance */
 };
 
 /** ZUC buffer queue pair */
@@ -45,6 +47,8 @@ struct zuc_qp {
         * by the driver when verifying a digest provided
         * by the user (using authentication verify operation)
         */
+       MB_MGR *mb_mgr;
+       /**< Multi-buffer instance */
 } __rte_cache_aligned;
 
 enum zuc_operation {