diff options
Diffstat (limited to 'src/plugins/mdata/mdata.c')
-rw-r--r-- | src/plugins/mdata/mdata.c | 37 |
1 files changed, 14 insertions, 23 deletions
diff --git a/src/plugins/mdata/mdata.c b/src/plugins/mdata/mdata.c index 69622960c39..c45b1e38910 100644 --- a/src/plugins/mdata/mdata.c +++ b/src/plugins/mdata/mdata.c @@ -203,25 +203,23 @@ mdata_enable_disable_command_fn (vlib_main_t * vm, /*? * This command enables or disables buffer metadata change tracking * - *@cliexpar + * @cliexpar * To enable buffer metadata change tracking: - *@cliexstart{buffer metadata tracking on} + * @cliexstart{buffer metadata tracking on} * Tracking enabled - *@cliexend + * @cliexend * - *@cliexstart{buffer metadata tracking off} + * @cliexstart{buffer metadata tracking off} * Tracking disabled - *@cliexend + * @cliexend ?*/ -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (mdata_enable_disable_command, static) = { .path = "buffer metadata tracking", .short_help = "buffer metadata tracking [on][off]", .function = mdata_enable_disable_command_fn, }; -/* *INDENT-ON* */ /* API message handler */ static void vl_api_mdata_enable_disable_t_handler @@ -256,13 +254,11 @@ mdata_init (vlib_main_t * vm) VLIB_INIT_FUNCTION (mdata_init); -/* *INDENT-OFF* */ VLIB_PLUGIN_REGISTER () = { .version = VPP_BUILD_VER, .description = "Buffer metadata change tracker." }; -/* *INDENT-ON* */ #define foreach_primary_metadata_field \ @@ -350,15 +346,12 @@ _(tcp.data_len) \ _(tcp.flags) \ _(snat.flags) -#define foreach_opaque2_metadata_field \ -_(qos.bits) \ -_(qos.source) \ -_(loop_counter) \ -_(gbp.flags) \ -_(gbp.sclass) \ -_(gso_size) \ -_(gso_l4_hdr_sz) \ -_(pg_replay_timestamp) +#define foreach_opaque2_metadata_field \ + _ (qos.bits) \ + _ (qos.source) \ + _ (loop_counter) \ + _ (gso_size) \ + _ (gso_l4_hdr_sz) static u8 * format_buffer_metadata_changes (u8 * s, va_list * args) @@ -472,23 +465,21 @@ show_metadata_command_fn (vlib_main_t * vm, /*? * This command displays buffer metadata change information - *@cliexpar + * @cliexpar * How to display buffer metadata change information - *@cliexstart{show buffer metadata} + * @cliexstart{show buffer metadata} * ethernet-input: current_data current_length flags error * vnet_buffer_t: l2_hdr_offset l3_hdr_offset * vnet_buffer2_t: no changes - *@cliexend + * @cliexend ?*/ -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_metadata_command, static) = { .path = "show buffer metadata", .short_help = "show buffer metadata", .function = show_metadata_command_fn, }; -/* *INDENT-OFF* */ /* * fd.io coding-style-patch-verification: ON |