summaryrefslogtreecommitdiffstats
path: root/vlib/vlib/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'vlib/vlib/node.h')
-rw-r--r--vlib/vlib/node.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/vlib/vlib/node.h b/vlib/vlib/node.h
index 795856e6d7f..b624e9d636d 100644
--- a/vlib/vlib/node.h
+++ b/vlib/vlib/node.h
@@ -411,6 +411,7 @@ typedef struct
typedef struct vlib_node_runtime_t
{
+ CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
/* Node function to call. */
vlib_node_function_t *function;
@@ -465,11 +466,7 @@ typedef struct vlib_node_runtime_t
u16 cpu_index;
/* Function dependent node-runtime. */
- uword runtime_data[(128
- - 1 * sizeof (vlib_node_function_t *)
- - 1 * sizeof (vlib_error_t *)
- - 11 * sizeof (u32)
- - 5 * sizeof (u16)) / sizeof (uword)];
+ u8 runtime_data[0];
}
vlib_node_runtime_t;