summaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-06-13 22:49:44 +0200
committerDave Barach <openvpp@barachs.net>2016-06-14 16:36:27 +0000
commitbf741477013c9eb84c920a24bd850936a821d61b (patch)
treeb0a1142d12fe465a6ad3db1eeccfbd4b51823a8e /vlib
parent6c56a3c6f0382f3751272d0784e9e0d16a646f3f (diff)
Retire io threads and main-thread-io mode
Change-Id: I64f5ec5e32f200834c63ec3b304f9f20cef332a7 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/threads.c4
-rw-r--r--vlib/vlib/threads.h3
2 files changed, 1 insertions, 6 deletions
diff --git a/vlib/vlib/threads.c b/vlib/vlib/threads.c
index 3b815be42e1..1808f36fe50 100644
--- a/vlib/vlib/threads.c
+++ b/vlib/vlib/threads.c
@@ -983,9 +983,7 @@ cpu_config (vlib_main_t * vm, unformat_input_t * input)
while (unformat_check_input(input) != UNFORMAT_END_OF_INPUT)
{
- if (unformat (input, "main-thread-io"))
- tm->main_thread_is_io_node = 1;
- else if (unformat (input, "use-pthreads"))
+ if (unformat (input, "use-pthreads"))
tm->use_pthreads = 1;
else if (unformat (input, "thread-prefix %v", &tm->thread_prefix))
;
diff --git a/vlib/vlib/threads.h b/vlib/vlib/threads.h
index f13d3768e42..f81be798626 100644
--- a/vlib/vlib/threads.h
+++ b/vlib/vlib/threads.h
@@ -264,9 +264,6 @@ typedef struct {
vlib_worker_thread_t * worker_threads;
- /* thread / cpu / io thread parameters */
- u32 main_thread_is_io_node;
-
/*
* Launch all threads as pthreads,
* not eal_rte_launch (strict affinity) threads