]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/app/test-crypto-perf/cperf_test_common.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / spdk / dpdk / app / test-crypto-perf / cperf_test_common.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2017 Intel Corporation
3 */
4
5 #ifndef _CPERF_TEST_COMMON_H_
6 #define _CPERF_TEST_COMMON_H_
7
8 #include <stdint.h>
9
10 #include <rte_mempool.h>
11
12 #include "cperf_options.h"
13 #include "cperf_test_vectors.h"
14
15 int
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);
23
24 #endif /* _CPERF_TEST_COMMON_H_ */