summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-01-18 16:24:23 +0100
committerFlorin Coras <florin.coras@gmail.com>2022-01-18 18:31:14 +0000
commit198ddad7fab679f6cc93c52af99155ac2e0be8fe (patch)
treed057a3845b442beaa44c9ff3d08a9108aee1de80 /src
parent9e0f9e235ad7dafcb481cf25f33eb52fdee8906b (diff)
vlib: allow bigger scalar data size
Type: improvement Change-Id: I1031c6ce80d90814edda7b52b11039874b95714f Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vlib/node.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlib/node.h b/src/vlib/node.h
index 66a99925846..2d4aa77a61f 100644
--- a/src/vlib/node.h
+++ b/src/vlib/node.h
@@ -149,7 +149,8 @@ typedef struct _vlib_node_registration
u8 protocol_hint;
/* Size of scalar and vector arguments in bytes. */
- u8 scalar_size, vector_size, aux_size;
+ u8 vector_size, aux_size;
+ u16 scalar_size;
/* Number of error codes used by this node. */
u16 n_errors;