summaryrefslogtreecommitdiffstats
path: root/src/vlib/node.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.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.h')
-rw-r--r--src/vlib/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/node.h b/src/vlib/node.h
index ca7564a13e7..9c4cadd56f7 100644
--- a/src/vlib/node.h
+++ b/src/vlib/node.h
@@ -698,6 +698,7 @@ typedef struct
/* Node runtime indices for input nodes with pending interrupts. */
vlib_node_interrupt_t *pending_local_interrupts;
vlib_node_interrupt_t *pending_remote_interrupts;
+ volatile u32 *pending_remote_interrupts_notify;
clib_spinlock_t pending_interrupt_lock;
/* Input nodes are switched from/to interrupt to/from polling mode