]> git.droids-corp.org - dpdk.git/blobdiff - drivers/crypto/null/null_crypto_pmd_private.h
bus/vdev: fix hotplug twice
[dpdk.git] / drivers / crypto / null / null_crypto_pmd_private.h
index 190b88dc777ca63f4f49810bb31ee73a6e614e0a..d7bfd9cc8f555b3553862773fd43a515f2fd0c62 100644 (file)
@@ -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;