|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
23 #ifndef __QOS_EGRESS_MAP_H__
24 #define __QOS_EGRESS_MAP_H__
walk_rc_t(* qos_egress_map_walk_cb_t)(qos_egress_map_id_t id, const qos_egress_map_t *m, void *c)
Walk each of the configured maps.
For a given output source a table maps each value of every input source.
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
Required for pool_get_aligned.
void qos_egress_map_walk(qos_egress_map_walk_cb_t fn, void *c)
qos_bits_t qem_output[QOS_N_SOURCES][256]
The array of output mapped values; output = eq_qos[input-source][input-value].
void qos_egress_map_delete(qos_egress_map_id_t tid)
struct qos_egress_map_t_ qos_egress_map_t
For a given output source a table maps each value of every input source.
u8 qos_bits_t
Type, er, safety for us water based entities.
index_t qos_egress_map_find(qos_egress_map_id_t tid)
Get the VPP QoS map index from the user's map-ID.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
vl_api_qos_source_t input_source
u8 * format_qos_egress_map(u8 *s, va_list *args)
enum qos_source_t_ qos_source_t
QoS types.
qos_egress_map_t * qem_pool
Data-plane functions.
qos_egress_map_id_t qos_egress_map_get_id(index_t qemi)
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 CO...
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.
#define QOS_N_SOURCES
The maximum number of sources.
enum walk_rc_t_ walk_rc_t
Walk return code.