bus/vdev: fix hotplug twice
[dpdk.git] / drivers / crypto / null / null_crypto_pmd_private.h
index 190b88d..d7bfd9c 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;