]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | /* SPDX-License-Identifier: BSD-3-Clause |
2 | * Copyright(c) 2016-2017 Intel Corporation | |
7c673cae FG |
3 | */ |
4 | ||
11fdf7f2 TL |
5 | #ifndef _CPERF_LATENCY_ |
6 | #define _CPERF_LATENCY_ | |
7c673cae | 7 | |
11fdf7f2 | 8 | #include <stdint.h> |
7c673cae | 9 | |
11fdf7f2 | 10 | #include <rte_mbuf.h> |
7c673cae | 11 | |
11fdf7f2 TL |
12 | #include "cperf.h" |
13 | #include "cperf_ops.h" | |
14 | #include "cperf_options.h" | |
15 | #include "cperf_test_vectors.h" | |
7c673cae | 16 | |
11fdf7f2 | 17 | void * |
9f95a23c TL |
18 | cperf_latency_test_constructor( |
19 | struct rte_mempool *sess_mp, | |
20 | struct rte_mempool *sess_priv_mp, | |
21 | uint8_t dev_id, | |
22 | uint16_t qp_id, | |
11fdf7f2 TL |
23 | const struct cperf_options *options, |
24 | const struct cperf_test_vector *test_vector, | |
25 | const struct cperf_op_fns *ops_fn); | |
7c673cae | 26 | |
11fdf7f2 TL |
27 | int |
28 | cperf_latency_test_runner(void *test_ctx); | |
7c673cae | 29 | |
11fdf7f2 TL |
30 | void |
31 | cperf_latency_test_destructor(void *test_ctx); | |
7c673cae | 32 | |
11fdf7f2 | 33 | #endif /* _CPERF_LATENCY_ */ |