aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-12-03 11:33:09 -0500
committerDave Barach <dave@barachs.net>2018-12-03 11:42:45 -0500
commit7bdaa3fff28e96fa7725f92003ff7f0b2d05c56d (patch)
tree129f54decb2c246c2762307658588f5f0beef3e4
parent02143dffd4c7456966a5043283ab9f252567170b (diff)
Format vnet_buffer_t l2 feature bitmap
Change-Id: Iad3120ab6466b77875efc89ccb49f6d22e36e62a Signed-off-by: Dave Barach <dave@barachs.net>
-rw-r--r--src/vnet/interface_format.c8
1 files changed, 8 insertions, 0 deletions
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 <vnet/vnet.h>
#include <vppinfra/bitmap.h>
+#include <vnet/l2/l2_input.h>
+#include <vnet/l2/l2_output.h>
u8 *
format_vnet_sw_interface_flags (u8 * s, va_list * args)
@@ -464,6 +466,12 @@ format_vnet_buffer_opaque (u8 * s, va_list * args)
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);
vec_add1 (s, '\n');