From bf741477013c9eb84c920a24bd850936a821d61b Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 13 Jun 2016 22:49:44 +0200 Subject: Retire io threads and main-thread-io mode Change-Id: I64f5ec5e32f200834c63ec3b304f9f20cef332a7 Signed-off-by: Damjan Marion --- vlib/vlib/threads.c | 4 +--- vlib/vlib/threads.h | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'vlib') 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 -- cgit 1.2.3-korg