DPDK  19.02.0
Data Fields
rte_table_action_dscp_table_entry Struct Reference

#include <rte_table_action.h>

Data Fields

uint32_t tc_id
uint32_t tc_queue_id
enum rte_meter_color color

Detailed Description

Differentiated Services Code Point (DSCP) translation table entry.

Definition at line 190 of file rte_table_action.h.

Field Documentation

uint32_t tc_id

Traffic class. Used by the meter or the traffic management actions. Has to be strictly smaller than RTE_TABLE_ACTION_TC_MAX. Traffic class 0 is the highest priority.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 195 of file rte_table_action.h.

uint32_t tc_queue_id

Traffic class queue. Used by the traffic management action. Has to be strictly smaller than RTE_TABLE_ACTION_TC_QUEUE_MAX.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 200 of file rte_table_action.h.

enum rte_meter_color color

Packet color. Used by the meter action as the packet input color for the color aware mode of the traffic metering algorithm.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 205 of file rte_table_action.h.


The documentation for this struct was generated from the following file: