1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2017 Intel Corporation
5 #ifndef _CPERF_TEST_COMMON_H_
6 #define _CPERF_TEST_COMMON_H_
10 #include <rte_mempool.h>
12 #include "cperf_options.h"
13 #include "cperf_test_vectors.h"
16 cperf_alloc_common_memory(const struct cperf_options *options,
17 const struct cperf_test_vector *test_vector,
18 uint8_t dev_id, uint16_t qp_id,
19 size_t extra_op_priv_size,
20 uint32_t *src_buf_offset,
21 uint32_t *dst_buf_offset,
22 struct rte_mempool **pool);
24 #endif /* _CPERF_TEST_COMMON_H_ */