net/mlx5: locate aging pools in the general container
[dpdk.git] / drivers / crypto / null / null_crypto_pmd_private.h
index 190b88d..89c4345 100644 (file)
@@ -8,7 +8,7 @@
 #define CRYPTODEV_NAME_NULL_PMD                crypto_null
 /**< Null crypto PMD device name */
 
-int null_logtype_driver;
+extern int null_logtype_driver;
 
 #define NULL_LOG(level, fmt, ...)  \
        rte_log(RTE_LOG_ ## level, null_logtype_driver,  \
@@ -19,7 +19,6 @@ int null_logtype_driver;
 /** private data structure for each NULL crypto device */
 struct null_crypto_private {
        unsigned max_nb_qpairs;         /**< Max number of queue pairs */
-       unsigned max_nb_sessions;       /**< Max number of sessions */
 };
 
 /** NULL crypto queue pair */
@@ -32,6 +31,8 @@ struct null_crypto_qp {
        /**< Ring for placing process packets */
        struct rte_mempool *sess_mp;
        /**< Session Mempool */
+       struct rte_mempool *sess_mp_priv;
+       /**< Session Mempool */
        struct rte_cryptodev_stats qp_stats;
        /**< Queue pair statistics */
 } __rte_cache_aligned;