diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-06-30 18:17:06 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-07-01 20:39:01 +0000 |
commit | d25147d58117a573fd2fc04cdfa76339fa1cdf22 (patch) | |
tree | 0e44628d9499f7d45a8aa0944cc4847e137f90d6 /src/vlib/unix/input.c | |
parent | 126c88544103d3775252f741398111875f6a62d7 (diff) |
vlib: wake up workers if interrupts are posted
Type: fix
Change-Id: If8dbbcb46193fd057fe8d704058609a3a8787d6c
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vlib/unix/input.c')
-rw-r--r-- | src/vlib/unix/input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlib/unix/input.c b/src/vlib/unix/input.c index 98cb133409f..7531dd19749 100644 --- a/src/vlib/unix/input.c +++ b/src/vlib/unix/input.c @@ -249,7 +249,8 @@ linux_epoll_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, while (nanosleep (&ts, &tsrem) < 0) ts = tsrem; - if (*vlib_worker_threads->wait_at_barrier) + if (*vlib_worker_threads->wait_at_barrier + || *nm->pending_remote_interrupts_notify) goto done; } } |