numam-dpdk/examples/pipeline/thread.h
Cristian Dumitrescu b77f660028 examples/pipeline: add new example application
Add new example application to showcase the API of the newly
introduced SWX pipeline type.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2020-10-01 18:43:10 +02:00

29 lines
455 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2020 Intel Corporation
*/
#ifndef _INCLUDE_THREAD_H_
#define _INCLUDE_THREAD_H_
#include <stdint.h>
#include "obj.h"
int
thread_pipeline_enable(uint32_t thread_id,
struct obj *obj,
const char *pipeline_name);
int
thread_pipeline_disable(uint32_t thread_id,
struct obj *obj,
const char *pipeline_name);
int
thread_init(void);
int
thread_main(void *arg);
#endif /* _INCLUDE_THREAD_H_ */