From c02bd03ddf5eec9e9c79811360685f13e4ba8ee1 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 29 Jun 2017 00:19:08 -0700 Subject: VPP debug image with worker threads hit assert on adding IP route with traffic (VPP-892) When stacking DPOs the VLIB graph is also updated to add the edge between the nodes, if this edge does not yet exist. This addition should be done with the workers stopped. Change-Id: I327e4d7d26f0b23eb280f17e4619ff2093ff7940 Signed-off-by: Neale Ranns --- src/vlib/node_funcs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vlib/node_funcs.h') diff --git a/src/vlib/node_funcs.h b/src/vlib/node_funcs.h index 4d7cc1928f3..3c33041c11e 100644 --- a/src/vlib/node_funcs.h +++ b/src/vlib/node_funcs.h @@ -1068,6 +1068,9 @@ vlib_node_vectors_per_main_loop_as_integer (vlib_main_t * vm, u32 node_index) void vlib_frame_free (vlib_main_t * vm, vlib_node_runtime_t * r, vlib_frame_t * f); +/* Return the edge index if present, ~0 otherwise */ +uword vlib_node_get_next (vlib_main_t * vm, uword node, uword next_node); + /* Add next node to given node in given slot. */ uword vlib_node_add_next_with_slot (vlib_main_t * vm, -- cgit 1.2.3-korg