summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-04-15 19:54:44 +0200
committerDamjan Marion <damarion@cisco.com>2021-04-15 22:05:10 +0200
commitf70cf2337683a97b06fe30ea56fab9ebab556ae7 (patch)
tree2ae5545a7271f38e8299fcddd983ef39353a8630 /src
parent7fdf8b2d5d125d17c38fd13f45b48dc5b2281af1 (diff)
vlib: make vlib_pending_frame_t smaller
Type: improvement Change-Id: I8715631718dca9bc7d7b364451b137484aadd58e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vlib/node.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vlib/node.h b/src/vlib/node.h
index 21a2022858f..7194ae8a818 100644
--- a/src/vlib/node.h
+++ b/src/vlib/node.h
@@ -439,12 +439,12 @@ vlib_next_frame_init (vlib_next_frame_t * nf)
/* A frame pending dispatch by main loop. */
typedef struct
{
- /* Node and runtime for this frame. */
- u32 node_runtime_index;
-
/* Frame index (in the heap). */
vlib_frame_t *frame;
+ /* Node and runtime for this frame. */
+ u32 node_runtime_index;
+
/* Start of next frames for this node. */
u32 next_frame_index;