diff options
Diffstat (limited to 'vlib')
-rw-r--r-- | vlib/vlib/buffer.h | 12 | ||||
-rw-r--r-- | vlib/vlib/node.c | 1 | ||||
-rw-r--r-- | vlib/vlib/node.h | 3 |
3 files changed, 8 insertions, 8 deletions
diff --git a/vlib/vlib/buffer.h b/vlib/vlib/buffer.h index 314ed193107..4ede684aa4b 100644 --- a/vlib/vlib/buffer.h +++ b/vlib/vlib/buffer.h @@ -125,10 +125,14 @@ typedef struct visit enabled feature nodes */ - u32 dont_waste_me; /**< Available space in the (precious) - first 32 octets of buffer metadata - Before allocating any of it, discussion required! - */ + u8 feature_arc_index; /**< Used to identify feature arcs by intermediate + feature node + */ + + u8 dont_waste_me[3]; /**< Available space in the (precious) + first 32 octets of buffer metadata + Before allocating any of it, discussion required! + */ u32 opaque[8]; /**< Opaque data used by sub-graphs for their own purposes. See .../vnet/vnet/buffer.h diff --git a/vlib/vlib/node.c b/vlib/vlib/node.c index 118fabe749d..23f7ea0239e 100644 --- a/vlib/vlib/node.c +++ b/vlib/vlib/node.c @@ -424,7 +424,6 @@ register_node (vlib_main_t * vm, vlib_node_registration_t * r) rt->n_next_nodes = r->n_next_nodes; rt->next_frame_index = vec_len (nm->next_frames); - rt->feature_arc_index = ~0; vec_resize (nm->next_frames, rt->n_next_nodes); for (i = 0; i < rt->n_next_nodes; i++) diff --git a/vlib/vlib/node.h b/vlib/vlib/node.h index 251ee606d20..b624e9d636d 100644 --- a/vlib/vlib/node.h +++ b/vlib/vlib/node.h @@ -465,9 +465,6 @@ typedef struct vlib_node_runtime_t /* CPU this node runs on */ u16 cpu_index; - /* Index of feature arc in which the node participates */ - u16 feature_arc_index; - /* Function dependent node-runtime. */ u8 runtime_data[0]; } |