From 7bdaa3fff28e96fa7725f92003ff7f0b2d05c56d Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Mon, 3 Dec 2018 11:33:09 -0500 Subject: Format vnet_buffer_t l2 feature bitmap Change-Id: Iad3120ab6466b77875efc89ccb49f6d22e36e62a Signed-off-by: Dave Barach --- src/vnet/interface_format.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/vnet') diff --git a/src/vnet/interface_format.c b/src/vnet/interface_format.c index 98be8728e77..5b20866cce2 100644 --- a/src/vnet/interface_format.c +++ b/src/vnet/interface_format.c @@ -39,6 +39,8 @@ #include #include +#include +#include u8 * format_vnet_sw_interface_flags (u8 * s, va_list * args) @@ -463,6 +465,12 @@ format_vnet_buffer_opaque (u8 * s, va_list * args) (u32) (o->l2.bd_age)); vec_add1 (s, '\n'); + s = format (s, + "l2.feature_bitmap_input: %U, L2.feature_bitmap_output: %U", + format_l2_input_features, o->l2.feature_bitmap, 0, + format_l2_output_features, o->l2.feature_bitmap, 0); + vec_add1 (s, '\n'); + s = format (s, "l2t.next_index: %d, l2t.session_index: %d", (u32) (o->l2t.next_index), o->l2t.session_index); -- cgit 1.2.3-korg