From 7ca5aaac10e95306f74ea4afd52110dd46aa0381 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Tue, 24 Sep 2019 18:10:49 +0200 Subject: vlib: add flag to explicitelly mark nodes which can init per-node packet trace Type: feature Change-Id: I913f08383ee1c24d610c3d2aac07cef402570e2c Signed-off-by: Damjan Marion --- src/vnet/ethernet/p2p_ethernet_input.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/ethernet/p2p_ethernet_input.c') diff --git a/src/vnet/ethernet/p2p_ethernet_input.c b/src/vnet/ethernet/p2p_ethernet_input.c index 36845fcda1b..7e5f7cadc0d 100644 --- a/src/vnet/ethernet/p2p_ethernet_input.c +++ b/src/vnet/ethernet/p2p_ethernet_input.c @@ -237,6 +237,7 @@ VLIB_REGISTER_NODE (p2p_ethernet_input_node) = { .vector_size = sizeof (u32), .format_trace = format_p2p_ethernet_trace, .type = VLIB_NODE_TYPE_INTERNAL, + .flags = VLIB_NODE_FLAG_TRACE_SUPPORTED, .n_errors = ARRAY_LEN(p2p_ethernet_error_strings), .error_strings = p2p_ethernet_error_strings, -- cgit 1.2.3-korg