FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
qos_record.c File Reference
+ Include dependency graph for qos_record.c:

Go to the source code of this file.

Functions

static void qos_record_feature_config (u32 sw_if_index, qos_source_t input_source, u8 enable)
 
int qos_record_enable (u32 sw_if_index, qos_source_t input_source)
 
int qos_record_disable (u32 sw_if_index, qos_source_t input_source)
 
static clib_error_tqos_record_ip_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add)
 
 VNET_SW_INTERFACE_ADD_DEL_FUNCTION (qos_record_ip_interface_add_del)
 
clib_error_tl2_ip_qos_init (vlib_main_t *vm)
 
static clib_error_tqos_record_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

u8qos_record_configs [QOS_N_SOURCES]
 Per-interface, per-protocol vector of feature on/off configurations. More...
 
u32 l2_qos_input_next [QOS_N_SOURCES][32]
 
static vlib_cli_command_t qos_record_command
 (constructor) VLIB_CLI_COMMAND (qos_record_command) More...
 

Function Documentation

◆ l2_ip_qos_init()

clib_error_t* l2_ip_qos_init ( vlib_main_t vm)

Definition at line 127 of file qos_record.c.

+ Here is the call graph for this function:

◆ qos_record_cli()

static clib_error_t* qos_record_cli ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 145 of file qos_record.c.

+ Here is the call graph for this function:

◆ qos_record_disable()

int qos_record_disable ( u32  sw_if_index,
qos_source_t  input_source 
)

Definition at line 85 of file qos_record.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qos_record_enable()

int qos_record_enable ( u32  sw_if_index,
qos_source_t  input_source 
)

Definition at line 71 of file qos_record.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qos_record_feature_config()

static void qos_record_feature_config ( u32  sw_if_index,
qos_source_t  input_source,
u8  enable 
)
static

Definition at line 31 of file qos_record.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qos_record_ip_interface_add_del()

static clib_error_t* qos_record_ip_interface_add_del ( vnet_main_t vnm,
u32  sw_if_index,
u32  is_add 
)
static

Definition at line 108 of file qos_record.c.

+ Here is the call graph for this function:

◆ VNET_SW_INTERFACE_ADD_DEL_FUNCTION()

VNET_SW_INTERFACE_ADD_DEL_FUNCTION ( qos_record_ip_interface_add_del  )
+ Here is the caller graph for this function:

Variable Documentation

◆ l2_qos_input_next

u32 l2_qos_input_next[QOS_N_SOURCES][32]

Definition at line 28 of file qos_record.c.

◆ qos_record_command

vlib_cli_command_t qos_record_command
static
Initial value:
= {
.path = "qos record",
.short_help = "qos record <record-source> <INTERFACE> [disable]",
.function = qos_record_cli,
.is_mp_safe = 1,
}
static clib_error_t * qos_record_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: qos_record.c:145

(constructor) VLIB_CLI_COMMAND (qos_record_command)

Definition at line 194 of file qos_record.c.

◆ qos_record_configs

u8* qos_record_configs[QOS_N_SOURCES]

Per-interface, per-protocol vector of feature on/off configurations.

Definition at line 27 of file qos_record.c.