f-stack/dpdk/app/test-crypto-perf/cperf_test_throughput.h

34 lines
665 B
C
Raw Normal View History

2019-06-25 14:12:58 +03:00
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2016-2017 Intel Corporation
2017-04-21 13:43:26 +03:00
*/
#ifndef _CPERF_THROUGHPUT_
#define _CPERF_THROUGHPUT_
2017-04-21 13:43:26 +03:00
#include <stdint.h>
#include <rte_mbuf.h>
2017-04-21 13:43:26 +03:00
#include "cperf.h"
#include "cperf_ops.h"
#include "cperf_options.h"
#include "cperf_test_vectors.h"
2017-04-21 13:43:26 +03:00
void *
cperf_throughput_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);
2017-04-21 13:43:26 +03:00
int
cperf_throughput_test_runner(void *test_ctx);
void
cperf_throughput_test_destructor(void *test_ctx);
2017-04-21 13:43:26 +03:00
#endif /* _CPERF_THROUGHPUT_ */