![]() |
FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Include dependency graph for qos_egress_map.c: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_id_t | qos_egress_map_get_id (index_t qemi) |
| 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) |
| void | qos_egress_map_walk (qos_egress_map_walk_cb_t fn, void *c) |
| 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 193 of file qos_egress_map.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void qos_egress_map_delete | ( | qos_egress_map_id_t | mid | ) |
Definition at line 113 of file qos_egress_map.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
Here is the caller graph for this function:| qos_egress_map_t* qos_egress_map_find_i | ( | qos_egress_map_id_t | mid | ) |
Definition at line 62 of file qos_egress_map.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 77 of file qos_egress_map.c.
Here is the call graph for this function:
Here is the caller graph for this function:| qos_egress_map_id_t qos_egress_map_get_id | ( | index_t | qemi | ) |
|
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 packets.
Definition at line 101 of file qos_egress_map.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void qos_egress_map_walk | ( | qos_egress_map_walk_cb_t | fn, |
| void * | c | ||
| ) |
| 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 278 of file qos_egress_map.c.
|
static |
(constructor) VLIB_CLI_COMMAND (qos_egress_map_update_command)
Definition at line 185 of file qos_egress_map.c.