power: rename constants
[dpdk.git] / app / test-compress-perf / comp_perf_test_common.h
index c9e0c90..72705c6 100644 (file)
@@ -26,13 +26,20 @@ struct cperf_mem_resources {
        struct rte_mempool *comp_buf_pool;
        struct rte_mempool *decomp_buf_pool;
        struct rte_mempool *op_pool;
+
+       /* external mbuf support */
+       const struct rte_memzone **comp_memzones;
+       const struct rte_memzone **decomp_memzones;
+       struct rte_mbuf_ext_shared_info *comp_buf_infos;
+       struct rte_mbuf_ext_shared_info *decomp_buf_infos;
 };
 
 int
 param_range_check(uint16_t size, const struct rte_param_log2_range *range);
 
 void
-comp_perf_free_memory(struct cperf_mem_resources *mem);
+comp_perf_free_memory(struct comp_test_data *test_data,
+                     struct cperf_mem_resources *mem);
 
 int
 comp_perf_allocate_memory(struct comp_test_data *test_data,
@@ -42,6 +49,6 @@ int
 prepare_bufs(struct comp_test_data *test_data, struct cperf_mem_resources *mem);
 
 void
-print_test_dynamics(void);
+print_test_dynamics(const struct comp_test_data *test_data);
 
 #endif /* _COMP_PERF_TEST_COMMON_H_ */