summaryrefslogtreecommitdiffstats
path: root/src/vlibmemory/memory_api.c
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/vlibmemory/memory_api.c
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/vlibmemory/memory_api.c')
-rw-r--r--src/vlibmemory/memory_api.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/vlibmemory/memory_api.c b/src/vlibmemory/memory_api.c
index aa0e25b72e5..a444ec785a7 100644
--- a/src/vlibmemory/memory_api.c
+++ b/src/vlibmemory/memory_api.c
@@ -704,26 +704,6 @@ vl_mem_api_handle_msg_main (vlib_main_t * vm, vlib_node_runtime_t * node)
}
int
-vl_mem_api_handle_rpc (vlib_main_t * vm, vlib_node_runtime_t * node)
-{
- api_main_t *am = &api_main;
- int i;
- uword *rpc_requests, mp;
-
- clib_spinlock_lock_if_init (&vm->pending_rpc_lock);
- rpc_requests = vm->pending_rpc_requests;
-
- for (i = 0; i < vec_len (rpc_requests); i++)
- {
- mp = rpc_requests[i];
- vl_msg_api_handler_with_vm_node (am, (void *) mp, vm, node);
- }
- vec_reset_length (vm->pending_rpc_requests);
- clib_spinlock_unlock_if_init (&vm->pending_rpc_lock);
- return 0;
-}
-
-int
vl_mem_api_handle_msg_private (vlib_main_t * vm, vlib_node_runtime_t * node,
u32 reg_index)
{