Format vnet_buffer_t l2 feature bitmap
#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)
@@ -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);
