API Reference Manual  1.45.0
api/abi-default/traffic_mngr.h File Reference

ODP traffic mngr. More...

Include dependency graph for api/abi-default/traffic_mngr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ODP_TM_MAX_NUM_SYSTEMS   8
 The ODP_TM_MAX_NUM_SYSTEMS constant specifies the maximum number of TM systems that may be created. More...
 
#define ODP_TM_MAX_PRIORITIES   16
 The ODP_TM_MAX_PRIORITIES constant specifies the largest range of priorities that any TM system can support. More...
 
#define ODP_TM_MAX_LEVELS   8
 The ODP_TM MAX_LEVELS constant specifies the largest range of tm_node levels that any TM system can support. More...
 
#define ODP_TM_MIN_SCHED_WEIGHT   1U
 The smallest SCHED weight is 1 (i.e. More...
 
#define ODP_TM_MAX_SCHED_WEIGHT   255U
 The ODP_TM_MAX_SCHED_WEIGHT constant is the largest weight any TM system can support (at least from a configuration standpoint). More...
 
#define ODP_TM_MAX_TM_QUEUES   (4 * 1024)
 The ODP_TM_MAX_TM_QUEUES constant is the largest number of tm_queues that can be handled by any one TM system. More...
 
#define ODP_TM_MAX_NUM_OUTPUTS   256
 The ODP_TM_MAX_NUM_OUTPUTS constant is the largest number of outputs that can be configured for any one TM system. More...
 
#define ODP_TM_MAX_NUM_TM_NODES   (4 * 1024)
 The ODP_TM_MAX_NUM_TM_NODES constant is the largest number of tm_nodes that can be in existence for any one TM system. More...
 
#define ODP_TM_MAX_TM_NODE_FANIN   (4 * 1024)
 The ODP_TM_MAX_TM_NODE_FANIN constant is the largest number of fan-in "inputs" that can be simultaneously connected to a single tm_node. More...
 
#define ODP_TM_INVALID_PRIORITY   255
 The INVALID_PRIORITY constant is used when one needs to indicate an invalid priority value. More...
 
#define ODP_TM_NAME_LEN   32
 Maximum traffic manager name length, including the null character.
 
#define ODP_TM_INVALID   0
 The ODP_TM_INVALID constant can be used with any ODP TM handle type and indicates that this value does NOT represent a valid TM object. More...
 
#define ODP_TM_ROOT   ((odp_tm_handle_t)-1)
 Constant that is used to refer to the egress/root node of the TM subsystem's tree/hierarchy of nodes.
 

Typedefs

typedef uint16_t odp_tm_percent_t
 The odp_tm_percent_t type is used when specifying fields that are percentages. More...
 
typedef 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.
 
typedef odp_tm_handle_t odp_tm_t
 Each odp_tm_t value represents a specific TM system. More...
 
typedef 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 TM system.
 
typedef 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 system. More...
 
typedef 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 across all TM systems described by this API. More...
 
typedef 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 usable across all TM systems described by this API. More...
 
typedef 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 usable across all TM systems described by this API. More...
 
typedef 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 all TM systems described by this API. More...
 

Detailed Description

ODP traffic mngr.

Definition in file api/abi-default/traffic_mngr.h.