diff options
author | Dave Barach <dbarach@cisco.com> | 2018-11-01 08:12:52 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-11-01 20:41:22 +0000 |
commit | f6c68d74eca9038516986254846de60a4f7c02ae (patch) | |
tree | 37ed22a3b75e993252ce81bfe6530fdd5c64d238 /src/vlib/main.h | |
parent | f3ffdbc809e912e6cb8ac042a20ad5227c754b23 (diff) |
Move RPC calls off the binary API input queue
Change-Id: I2476e3e916a42b41d1e66bfc1ec4f8c4264c1720
Signed-off-by: Dave Barach <dbarach@cisco.com>
Diffstat (limited to 'src/vlib/main.h')
-rw-r--r-- | src/vlib/main.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vlib/main.h b/src/vlib/main.h index 7c34fb6528d..1cf8fe188b1 100644 --- a/src/vlib/main.h +++ b/src/vlib/main.h @@ -207,8 +207,10 @@ typedef struct vlib_main_t /* Earliest barrier can be closed again */ f64 barrier_no_close_before; - /* Vector of pending RPC requests */ + /* RPC requests, main thread only */ uword *pending_rpc_requests; + uword *processing_rpc_requests; + clib_spinlock_t pending_rpc_lock; } vlib_main_t; |