]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/app/test-crypto-perf/cperf_test_pmd_cyclecount.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / app / test-crypto-perf / cperf_test_pmd_cyclecount.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2017 Intel Corporation
3 */
4
5 #ifndef _CPERF_TEST_PMD_CYCLECOUNT_H_
6 #define _CPERF_TEST_PMD_CYCLECOUNT_H_
7
8 #include <stdint.h>
9
10 #include <rte_mbuf.h>
11
12 #include "cperf.h"
13 #include "cperf_ops.h"
14 #include "cperf_options.h"
15 #include "cperf_test_vectors.h"
16
17
18 void *
19 cperf_pmd_cyclecount_test_constructor(
20 struct rte_mempool *sess_mp,
21 struct rte_mempool *sess_priv_mp,
22 uint8_t dev_id,
23 uint16_t qp_id,
24 const struct cperf_options *options,
25 const struct cperf_test_vector *test_vector,
26 const struct cperf_op_fns *ops_fn);
27
28 int
29 cperf_pmd_cyclecount_test_runner(void *test_ctx);
30
31 void
32 cperf_pmd_cyclecount_test_destructor(void *test_ctx);
33
34 #endif /* _CPERF_TEST_PMD_CYCLECOUNT_H_ */