2017-12-19 15:48:59 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* Copyright(c) 2016-2017 Intel Corporation
|
2017-03-27 11:26:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CPERF_VERIFY_
|
|
|
|
#define _CPERF_VERIFY_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include <rte_mbuf.h>
|
|
|
|
|
|
|
|
#include "cperf.h"
|
|
|
|
#include "cperf_ops.h"
|
|
|
|
#include "cperf_options.h"
|
|
|
|
#include "cperf_test_vectors.h"
|
|
|
|
|
|
|
|
|
|
|
|
void *
|
2017-07-05 05:26:17 +00:00
|
|
|
cperf_verify_test_constructor(
|
|
|
|
struct rte_mempool *sess_mp,
|
|
|
|
uint8_t dev_id,
|
|
|
|
uint16_t qp_id,
|
2017-03-27 11:26:01 +00:00
|
|
|
const struct cperf_options *options,
|
|
|
|
const struct cperf_test_vector *test_vector,
|
|
|
|
const struct cperf_op_fns *ops_fn);
|
|
|
|
|
|
|
|
int
|
|
|
|
cperf_verify_test_runner(void *test_ctx);
|
|
|
|
|
|
|
|
void
|
|
|
|
cperf_verify_test_destructor(void *test_ctx);
|
|
|
|
|
|
|
|
#endif /* _CPERF_VERIFY_ */
|