aboutsummaryrefslogtreecommitdiffstats
path: root/app/test-crypto-perf/cperf_test_latency.h
blob: d3fc3218d722dc8e4d4c2d85a9b50bd22b1f0e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2016-2017 Intel Corporation
 */

#ifndef _CPERF_LATENCY_
#define _CPERF_LATENCY_

#include <stdint.h>

#include <rte_mbuf.h>

#include "cperf.h"
#include "cperf_ops.h"
#include "cperf_options.h"
#include "cperf_test_vectors.h"

void *
cperf_latency_test_constructor(
		struct rte_mempool *sess_mp,
		uint8_t dev_id,
		uint16_t qp_id,
		const struct cperf_options *options,
		const struct cperf_test_vector *test_vector,
		const struct cperf_op_fns *ops_fn);

int
cperf_latency_test_runner(void *test_ctx);

void
cperf_latency_test_destructor(void *test_ctx);

#endif /* _CPERF_LATENCY_ */