FD.io VPP
v18.07-34-g55fbdb9
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
index_t | qos_egress_map_find (qos_egress_map_id_t mid) |
Get the VPP QoS map index from the user's map-ID. More... | |
qos_egress_map_t * | qos_egress_map_find_i (qos_egress_map_id_t mid) |
static qos_egress_map_t * | qos_egress_map_find_or_create (qos_egress_map_id_t mid) |
void | qos_egress_map_update (qos_egress_map_id_t mid, qos_source_t input_source, qos_bits_t *values) |
Add a qos-egress map to an interface. More... | |
void | qos_egress_map_delete (qos_egress_map_id_t mid) |
static clib_error_t * | qos_egress_map_update_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
u8 * | format_qos_egress_map (u8 *s, va_list *args) |
static clib_error_t * | qos_egress_map_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
Variables | |
qos_egress_map_t * | qem_pool |
Pool from which to allocate table. More... | |
uword * | qem_db |
DB to map user table-IDs to internal table indicies. More... | |
static vlib_cli_command_t | qos_egress_map_update_command |
(constructor) VLIB_CLI_COMMAND (qos_egress_map_update_command) More... | |
static vlib_cli_command_t | qos_egress_map_show_command |
(constructor) VLIB_CLI_COMMAND (qos_egress_map_show_command) More... | |
Definition at line 163 of file qos_egress_map.c.
void qos_egress_map_delete | ( | qos_egress_map_id_t | mid | ) |
Definition at line 96 of file qos_egress_map.c.
index_t qos_egress_map_find | ( | qos_egress_map_id_t | mid | ) |
Get the VPP QoS map index from the user's map-ID.
Definition at line 32 of file qos_egress_map.c.
qos_egress_map_t* qos_egress_map_find_i | ( | qos_egress_map_id_t | mid | ) |
Definition at line 45 of file qos_egress_map.c.
|
static |
Definition at line 60 of file qos_egress_map.c.
|
static |
void qos_egress_map_update | ( | qos_egress_map_id_t | tid, |
qos_source_t | input_source, | ||
qos_bits_t * | values | ||
) |
Add a qos-egress map to an interface.
If sw_if_index = ~0 then the configuration is for the 'default' table. If the table is ~0, this is a removal. the egress mapping is applied. For example, is output is MPLS then the QoS markings will occur for MPLS pakcets.
Definition at line 84 of file qos_egress_map.c.
|
static |
uword* qem_db |
DB to map user table-IDs to internal table indicies.
Definition at line 29 of file qos_egress_map.c.
qos_egress_map_t* qem_pool |
Pool from which to allocate table.
Data-plane functions.
Definition at line 24 of file qos_egress_map.c.
|
static |
(constructor) VLIB_CLI_COMMAND (qos_egress_map_show_command)
Definition at line 248 of file qos_egress_map.c.
|
static |
(constructor) VLIB_CLI_COMMAND (qos_egress_map_update_command)
Definition at line 154 of file qos_egress_map.c.