]> git.droids-corp.org - dpdk.git/blobdiff - drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h
net/failsafe: change back-reference from sub-device
[dpdk.git] / drivers / crypto / aesni_mb / rte_aesni_mb_pmd_private.h
index d61abfe4f74ac89f49277062c7f50d4c25ba0fa8..61f419dda27d02d150c1af12accc4b3d0a9aae22 100644 (file)
@@ -109,6 +109,13 @@ static const unsigned auth_digest_byte_lengths[] = {
                [AES_CMAC]      = 16,
                [AES_GMAC]      = 12,
                [NULL_HASH]     = 0,
                [AES_CMAC]      = 16,
                [AES_GMAC]      = 12,
                [NULL_HASH]     = 0,
+#if IMB_VERSION_NUM >= IMB_VERSION(0, 52, 0)
+               [PLAIN_SHA1]    = 20,
+               [PLAIN_SHA_224] = 28,
+               [PLAIN_SHA_256] = 32,
+               [PLAIN_SHA_384] = 48,
+               [PLAIN_SHA_512] = 64
+#endif
        /**< Vector mode dependent pointer table of the multi-buffer APIs */
 
 };
        /**< Vector mode dependent pointer table of the multi-buffer APIs */
 
 };
@@ -164,6 +171,8 @@ struct aesni_mb_qp {
        /**< Ring for placing operations ready for processing */
        struct rte_mempool *sess_mp;
        /**< Session Mempool */
        /**< Ring for placing operations ready for processing */
        struct rte_mempool *sess_mp;
        /**< Session Mempool */
+       struct rte_mempool *sess_mp_priv;
+       /**< Session Private Data Mempool */
        struct rte_cryptodev_stats stats;
        /**< Queue pair statistics */
        uint8_t digest_idx;
        struct rte_cryptodev_stats stats;
        /**< Queue pair statistics */
        uint8_t digest_idx;