FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | qos_egress_map_t_ |
For a given output source a table maps each value of every input source. More... | |
Typedefs | |
typedef u32 | qos_egress_map_id_t |
A QOS egress map translates from the COS bits stored in the packet's meta-data into a per-protocol COS value. More... | |
typedef struct qos_egress_map_t_ | qos_egress_map_t |
For a given output source a table maps each value of every input source. More... | |
Functions | |
u8 * | format_qos_egress_map (u8 *s, va_list *args) |
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. More... | |
void | qos_egress_map_delete (qos_egress_map_id_t tid) |
index_t | qos_egress_map_find (qos_egress_map_id_t tid) |
Get the VPP QoS map index from the user's map-ID. More... | |
Variables | |
qos_egress_map_t * | qem_pool |
Data-plane functions. More... | |
typedef u32 qos_egress_map_id_t |
A QOS egress map translates from the COS bits stored in the packet's meta-data into a per-protocol COS value.
An attempt at type safety
Definition at line 32 of file qos_egress_map.h.
typedef struct qos_egress_map_t_ qos_egress_map_t |
For a given output source a table maps each value of every input source.
Definition at line 163 of file qos_egress_map.c.
void qos_egress_map_delete | ( | qos_egress_map_id_t | tid | ) |
Definition at line 96 of file qos_egress_map.c.
index_t qos_egress_map_find | ( | qos_egress_map_id_t | tid | ) |
Get the VPP QoS map index from the user's map-ID.
Definition at line 32 of file qos_egress_map.c.
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 84 of file qos_egress_map.c.
qos_egress_map_t* qem_pool |
Data-plane functions.
Pool from which to allocate map
Data-plane functions.
Definition at line 24 of file qos_egress_map.c.