xref: /dpdk/app/test-crypto-perf/cperf_test_verify.h (revision 76a48d8ac0928d1a0afbd9f7abfe1d2d9f6d9aaf)
1174a1631SBruce Richardson /* SPDX-License-Identifier: BSD-3-Clause
2174a1631SBruce Richardson  * Copyright(c) 2016-2017 Intel Corporation
3df52cb3bSSergio Gonzalez Monroy  */
4df52cb3bSSergio Gonzalez Monroy 
5df52cb3bSSergio Gonzalez Monroy #ifndef _CPERF_VERIFY_
6df52cb3bSSergio Gonzalez Monroy #define _CPERF_VERIFY_
7df52cb3bSSergio Gonzalez Monroy 
8df52cb3bSSergio Gonzalez Monroy #include <stdint.h>
9df52cb3bSSergio Gonzalez Monroy 
10df52cb3bSSergio Gonzalez Monroy #include <rte_mbuf.h>
11df52cb3bSSergio Gonzalez Monroy 
12df52cb3bSSergio Gonzalez Monroy #include "cperf.h"
13df52cb3bSSergio Gonzalez Monroy #include "cperf_ops.h"
14df52cb3bSSergio Gonzalez Monroy #include "cperf_options.h"
15df52cb3bSSergio Gonzalez Monroy #include "cperf_test_vectors.h"
16df52cb3bSSergio Gonzalez Monroy 
17df52cb3bSSergio Gonzalez Monroy 
18df52cb3bSSergio Gonzalez Monroy void *
19b3bbd9e5SSlawomir Mrozowicz cperf_verify_test_constructor(
20b3bbd9e5SSlawomir Mrozowicz 		struct rte_mempool *sess_mp,
21b3bbd9e5SSlawomir Mrozowicz 		uint8_t dev_id,
22b3bbd9e5SSlawomir Mrozowicz 		uint16_t qp_id,
23df52cb3bSSergio Gonzalez Monroy 		const struct cperf_options *options,
24df52cb3bSSergio Gonzalez Monroy 		const struct cperf_test_vector *test_vector,
25*76a48d8aSJack Bond-Preston 		const struct cperf_op_fns *ops_fn,
26*76a48d8aSJack Bond-Preston 		void **sess);
27df52cb3bSSergio Gonzalez Monroy 
28df52cb3bSSergio Gonzalez Monroy int
29df52cb3bSSergio Gonzalez Monroy cperf_verify_test_runner(void *test_ctx);
30df52cb3bSSergio Gonzalez Monroy 
31df52cb3bSSergio Gonzalez Monroy void
32df52cb3bSSergio Gonzalez Monroy cperf_verify_test_destructor(void *test_ctx);
33df52cb3bSSergio Gonzalez Monroy 
34df52cb3bSSergio Gonzalez Monroy #endif /* _CPERF_VERIFY_ */
35