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/node_funcs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vlib/node_funcs.h') diff --git a/src/vlib/node_funcs.h b/src/vlib/node_funcs.h index b607ef252bd..89f212374e9 100644 --- a/src/vlib/node_funcs.h +++ b/src/vlib/node_funcs.h @@ -242,6 +242,7 @@ vlib_node_set_interrupt_pending_with_data (vlib_main_t * vm, u32 node_index, vec_add2 (nm->pending_remote_interrupts, i, 1); i->node_runtime_index = n->runtime_index; i->data = data; + *nm->pending_remote_interrupts_notify = 1; clib_spinlock_unlock (&nm->pending_interrupt_lock); } } -- cgit 1.2.3-korg