]> git.droids-corp.org - dpdk.git/blobdiff - examples/ipsec-secgw/ipsec.h
examples: use separate crypto session mempools
[dpdk.git] / examples / ipsec-secgw / ipsec.h
index c998c8076c7cd854e3e74712e0870eceba57629d..f355528570d688ed780f1737c6f553c175518ae9 100644 (file)
@@ -144,6 +144,7 @@ struct ipsec_ctx {
        uint16_t last_qp;
        struct cdev_qp tbl[MAX_QP_PER_LCORE];
        struct rte_mempool *session_pool;
+       struct rte_mempool *session_priv_pool;
        struct rte_mbuf *ol_pkts[MAX_PKT_BURST] __rte_aligned(sizeof(void *));
        uint16_t ol_pkts_cnt;
 };
@@ -166,6 +167,7 @@ struct socket_ctx {
        struct rt_ctx *rt_ip6;
        struct rte_mempool *mbuf_pool;
        struct rte_mempool *session_pool;
+       struct rte_mempool *session_priv_pool;
 };
 
 struct cnt_blk {