1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2016-2017 Intel Corporation
8 #include <rte_crypto.h>
10 #include "cperf_ops.h"
13 struct cperf_test_vector
;
16 typedef void *(*cperf_constructor_t
)(
17 struct rte_mempool
*sess_mp
,
18 struct rte_mempool
*sess_priv_mp
,
21 const struct cperf_options
*options
,
22 const struct cperf_test_vector
*t_vec
,
23 const struct cperf_op_fns
*op_fns
);
25 typedef int (*cperf_runner_t
)(void *test_ctx
);
26 typedef void (*cperf_destructor_t
)(void *test_ctx
);
29 cperf_constructor_t constructor
;
30 cperf_runner_t runner
;
31 cperf_destructor_t destructor
;