summaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
authorFlorin Coras <florin.coras@gmail.com>2018-10-25 19:03:46 +0000
committerFlorin Coras <florin.coras@gmail.com>2018-10-25 19:34:03 +0000
commit332287ef5da930dc71f01d927582da7ba7ff7b7b (patch)
treebff357f053fc10588b745485922fc7fd70c49ee2 /src/vlib
parentc04e2b06ed8d2038e42b663b9d24ebc8fb719893 (diff)
Revert "Keep RPC traffic off the shared-memory API queue"
This reverts commit 71615399e194847d7833b744caedab9b841733e5. There seems to be an issue with ARPs when running with multiple workers. Change-Id: Iaa68081512362945a9caf24dcb8d70fc7c5b75df Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/main.h1
-rw-r--r--src/vlib/threads.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/vlib/main.h b/src/vlib/main.h
index 64f2859c055..7c34fb6528d 100644
--- a/src/vlib/main.h
+++ b/src/vlib/main.h
@@ -209,7 +209,6 @@ typedef struct vlib_main_t
/* Vector of pending RPC requests */
uword *pending_rpc_requests;
- clib_spinlock_t pending_rpc_lock;
} vlib_main_t;
diff --git a/src/vlib/threads.c b/src/vlib/threads.c
index 7ecfa309378..c99458ddaec 100644
--- a/src/vlib/threads.c
+++ b/src/vlib/threads.c
@@ -699,9 +699,6 @@ start_workers (vlib_main_t * vm)
vlib_worker_threads->node_reforks_required =
clib_mem_alloc_aligned (sizeof (u32), CLIB_CACHE_LINE_BYTES);
- /* We'll need the rpc vector lock... */
- clib_spinlock_init (&vm->pending_rpc_lock);
-
/* Ask for an initial barrier sync */
*vlib_worker_threads->workers_at_barrier = 0;
*vlib_worker_threads->wait_at_barrier = 1;