diff options
Diffstat (limited to 'src/seastar/dpdk/app/test-crypto-perf/cperf_test_common.h')
-rw-r--r-- | src/seastar/dpdk/app/test-crypto-perf/cperf_test_common.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/seastar/dpdk/app/test-crypto-perf/cperf_test_common.h b/src/seastar/dpdk/app/test-crypto-perf/cperf_test_common.h new file mode 100644 index 000000000..3ace0d2e5 --- /dev/null +++ b/src/seastar/dpdk/app/test-crypto-perf/cperf_test_common.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2017 Intel Corporation + */ + +#ifndef _CPERF_TEST_COMMON_H_ +#define _CPERF_TEST_COMMON_H_ + +#include <stdint.h> + +#include <rte_mempool.h> + +#include "cperf_options.h" +#include "cperf_test_vectors.h" + +int +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, + uint32_t *src_buf_offset, + uint32_t *dst_buf_offset, + struct rte_mempool **pool); + +#endif /* _CPERF_TEST_COMMON_H_ */ |