app/crypto-perf: use single mempool
[dpdk.git] / app / test-crypto-perf / cperf_test_common.h
index ad29431..4cee785 100644 (file)
@@ -45,18 +45,8 @@ cperf_alloc_common_memory(const struct cperf_options *options,
                        const struct cperf_test_vector *test_vector,
                        uint8_t dev_id, uint16_t qp_id,
                        size_t extra_op_priv_size,
-                       struct rte_mempool **pkt_mbuf_pool_in,
-                       struct rte_mempool **pkt_mbuf_pool_out,
-                       struct rte_mbuf ***mbufs_in,
-                       struct rte_mbuf ***mbufs_out,
-                       struct rte_mempool **crypto_op_pool);
-
-void
-cperf_free_common_memory(const struct cperf_options *options,
-                       struct rte_mempool *pkt_mbuf_pool_in,
-                       struct rte_mempool *pkt_mbuf_pool_out,
-                       struct rte_mbuf **mbufs_in,
-                       struct rte_mbuf **mbufs_out,
-                       struct rte_mempool *crypto_op_pool);
+                       uint32_t *src_buf_offset,
+                       uint32_t *dst_buf_offset,
+                       struct rte_mempool **pool);
 
 #endif /* _CPERF_TEST_COMMON_H_ */