summaryrefslogtreecommitdiffstats
path: root/src/vlib/node_funcs.h
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2020-06-30 18:17:06 +0200
committerDave Barach <openvpp@barachs.net>2020-07-01 20:39:01 +0000
commitd25147d58117a573fd2fc04cdfa76339fa1cdf22 (patch)
tree0e44628d9499f7d45a8aa0944cc4847e137f90d6 /src/vlib/node_funcs.h
parent126c88544103d3775252f741398111875f6a62d7 (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/node_funcs.h')
-rw-r--r--src/vlib/node_funcs.h1
1 files changed, 1 insertions, 0 deletions
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);
}
}