From d25147d58117a573fd2fc04cdfa76339fa1cdf22 Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Tue, 30 Jun 2020 18:17:06 +0200 Subject: vlib: wake up workers if interrupts are posted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Type: fix Change-Id: If8dbbcb46193fd057fe8d704058609a3a8787d6c Signed-off-by: Benoît Ganne --- src/vlib/unix/input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vlib/unix/input.c') 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; } } -- cgit 1.2.3-korg