diff options
author | Damjan Marion <damarion@cisco.com> | 2023-07-23 14:24:22 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-07-25 20:10:29 +0000 |
commit | cc8249c5fde1b00b043066617d35325dd1606cd6 (patch) | |
tree | 105b40cf6eb8d00440832dd73aa4544aa173fd5a /src/vlib/node.h | |
parent | 3f40755749b07e5a936ad6d15622e371e7e5c25e (diff) |
vlib: interrupt mode support for pre-input nodes
Type: improvement
Change-Id: Ic6e60597d2be63e3a0ae4399a81dbbd72392f30d
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/node.h')
-rw-r--r-- | src/vlib/node.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vlib/node.h b/src/vlib/node.h index e40208b4bed..955ffb98600 100644 --- a/src/vlib/node.h +++ b/src/vlib/node.h @@ -690,8 +690,9 @@ typedef struct vlib_node_runtime_t *nodes_by_type[VLIB_N_NODE_TYPE]; /* Node runtime indices for input nodes with pending interrupts. */ - void *interrupts; - volatile u32 *pending_interrupts; + void *input_node_interrupts; + void *pre_input_node_interrupts; + volatile u8 pending_interrupts; /* Input nodes are switched from/to interrupt to/from polling mode when average vector length goes above/below polling/interrupt |