12 #ifndef ODP_ABI_TRAFFIC_MNGR_H_
13 #define ODP_ABI_TRAFFIC_MNGR_H_
30 #define ODP_TM_MAX_NUM_SYSTEMS 8
36 #define ODP_TM_MAX_PRIORITIES 16
43 #define ODP_TM_MAX_LEVELS 8
48 #define ODP_TM_MIN_SCHED_WEIGHT 1U
54 #define ODP_TM_MAX_SCHED_WEIGHT 255U
59 #define ODP_TM_MAX_TM_QUEUES (4 * 1024)
64 #define ODP_TM_MAX_NUM_OUTPUTS 256
69 #define ODP_TM_MAX_NUM_TM_NODES (4 * 1024)
75 #define ODP_TM_MAX_TM_NODE_FANIN (4 * 1024)
80 #define ODP_TM_INVALID_PRIORITY 255
82 #define ODP_TM_NAME_LEN 32
143 #define ODP_TM_INVALID 0
150 #define ODP_TM_ROOT ((odp_tm_handle_t)-1)
Standard C language types and definitions for ODP.
odp_tm_handle_t odp_tm_t
Each odp_tm_t value represents a specific TM system.
odp_tm_handle_t odp_tm_wred_t
Each odp_tm_wred_t value is an opaque ODP handle representing a specific WRED profile usable across a...
odp_tm_handle_t odp_tm_node_t
Each odp_tm_node_t value is an opaque ODP handle representing a specific tm_node within a specific TM...
odp_tm_handle_t odp_tm_queue_t
Each odp_tm_queue_t value is an opaque ODP handle representing a specific tm_queue within a specific ...
odp_tm_handle_t odp_tm_sched_t
Each odp_tm_sched_t value is an opaque ODP handle representing a specific tm_node scheduler profile u...
uint64_t odp_tm_handle_t
The odp_tm_handle_t type is a generic type that can stand for any of the other ODP_TM handle types.
uint16_t odp_tm_percent_t
The odp_tm_percent_t type is used when specifying fields that are percentages.
odp_tm_handle_t odp_tm_threshold_t
Each odp_tm_threshold_t value is an opaque ODP handle representing a specific queue threshold profile...
odp_tm_handle_t odp_tm_shaper_t
Each odp_tm_shaper_t value is an opaque ODP handle representing a specific shaper profile usable acro...