Go to the source code of this file.
|
static void | mdata_trace_callback (vlib_main_t *vm, u64 *c0, u64 *c1, vlib_node_runtime_t *node, vlib_frame_t *frame, int before_or_after) |
| Metadata tracking callback before_or_after: 0 => before, 1=> after. More...
|
|
int | mdata_enable_disable (mdata_main_t *mmp, int enable_disable) |
|
static clib_error_t * | mdata_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | vl_api_mdata_enable_disable_t_handler (vl_api_mdata_enable_disable_t *mp) |
|
static clib_error_t * | mdata_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
static u8 * | format_buffer_metadata_changes (u8 *s, va_list *args) |
|
static clib_error_t * | show_metadata_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ foreach_opaque2_metadata_field
#define foreach_opaque2_metadata_field |
Value:_(qos.bits) \
_(qos.source) \
_(loop_counter) \
_(gbp.flags) \
_(gbp.sclass) \
_(gso_size) \
_(gso_l4_hdr_sz) \
_(pg_replay_timestamp)
Definition at line 347 of file mdata.c.
◆ foreach_opaque_metadata_field
#define foreach_opaque_metadata_field |
◆ foreach_primary_metadata_field
#define foreach_primary_metadata_field |
Value:_(current_data) \
_(current_length) \
_(flow_id) \
_(ref_count) \
_(buffer_pool_index) \
_(error) \
_(next_buffer) \
_(current_config_index) \
Definition at line 262 of file mdata.c.
◆ REPLY_MSG_ID_BASE
◆ format_buffer_metadata_changes()
static u8* format_buffer_metadata_changes |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ mdata_enable_disable()
int mdata_enable_disable |
( |
mdata_main_t * |
mmp, |
|
|
int |
enable_disable |
|
) |
| |
◆ mdata_enable_disable_command_fn()
◆ mdata_init()
◆ mdata_trace_callback()
Metadata tracking callback before_or_after: 0 => before, 1=> after.
Definition at line 44 of file mdata.c.
◆ show_metadata_command_fn()
◆ vl_api_mdata_enable_disable_t_handler()
◆ VLIB_PLUGIN_REGISTER()
◆ mdata_enable_disable_command
Initial value:=
{
.path = "buffer metadata tracking",
.short_help = "buffer metadata tracking [on][off]",
}
static clib_error_t * mdata_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (mdata_enable_disable_command)
Definition at line 212 of file mdata.c.
◆ mdata_main
◆ mdata_none
◆ show_metadata_command
Initial value:=
{
.path = "show buffer metadata",
.short_help = "show buffer metadata",
}
static clib_error_t * show_metadata_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_metadata_command)
Definition at line 479 of file mdata.c.