numam-dpdk/examples/ip_pipeline/thread.h
Jasvinder Singh 32e5d9b154 examples/ip_pipeline: add enable and disable commands
Add commands to enable and disable the pipeline on the thread.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
2018-04-05 19:00:17 +02:00

25 lines
406 B
C

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