f-stack/dpdk/examples/ip_pipeline/thread.h

25 lines
406 B
C
Raw Normal View History

2019-06-25 11:12:58 +00:00
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2010-2018 Intel Corporation
2017-04-21 10:43:26 +00:00
*/
2019-06-25 11:12:58 +00:00
#ifndef _INCLUDE_THREAD_H_
#define _INCLUDE_THREAD_H_
2017-04-21 10:43:26 +00:00
2019-06-25 11:12:58 +00:00
#include <stdint.h>
2017-04-21 10:43:26 +00:00
2019-06-25 11:12:58 +00:00
int
thread_pipeline_enable(uint32_t thread_id,
const char *pipeline_name);
2017-04-21 10:43:26 +00:00
2019-06-25 11:12:58 +00:00
int
thread_pipeline_disable(uint32_t thread_id,
const char *pipeline_name);
2017-04-21 10:43:26 +00:00
2019-06-25 11:12:58 +00:00
int
thread_init(void);
2017-04-21 10:43:26 +00:00
2019-06-25 11:12:58 +00:00
int
thread_main(void *arg);
2017-04-21 10:43:26 +00:00
2019-06-25 11:12:58 +00:00
#endif /* _INCLUDE_THREAD_H_ */