summaryrefslogtreecommitdiffstats
path: root/src/seastar/dpdk/examples/ip_pipeline/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/dpdk/examples/ip_pipeline/thread.h')
-rw-r--r--src/seastar/dpdk/examples/ip_pipeline/thread.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/seastar/dpdk/examples/ip_pipeline/thread.h b/src/seastar/dpdk/examples/ip_pipeline/thread.h
new file mode 100644
index 000000000..facdf004e
--- /dev/null
+++ b/src/seastar/dpdk/examples/ip_pipeline/thread.h
@@ -0,0 +1,24 @@
+/* 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_ */