API Reference Manual  1.45.0
odp_tm_node_info_t Struct Reference

The odp_tm_node_info_t record type is used to return various bits of information about a given tm_node via the odp_tm_node_info() function. More...

#include <traffic_mngr.h>

Data Fields

odp_tm_shaper_t shaper_profile
 The shaper profile currently associated with this tm_node. More...
 
odp_tm_threshold_t threshold_profile
 The threshold profile currently associated with this tm_node. More...
 
odp_tm_wred_t wred_profile [ODP_NUM_PACKET_COLORS]
 The WRED profile(s) currently associated with this tm_node. More...
 
uint32_t tm_queue_fanin
 Current tm_queue fanin.
 
uint32_t tm_node_fanin
 Current tm_node fanin.
 
odp_tm_node_t next_tm_node
 The next_tm_node is the "next" node in the tree - i.e. More...
 
uint8_t level
 The level of this tm_node. More...
 

Detailed Description

The odp_tm_node_info_t record type is used to return various bits of information about a given tm_node via the odp_tm_node_info() function.

Definition at line 2041 of file api/spec/traffic_mngr.h.

Field Documentation

◆ shaper_profile

odp_tm_shaper_t odp_tm_node_info_t::shaper_profile

The shaper profile currently associated with this tm_node.

Can be ODP_TM_INVALID indicating no shaper profile is associated.

Definition at line 2044 of file api/spec/traffic_mngr.h.

◆ threshold_profile

odp_tm_threshold_t odp_tm_node_info_t::threshold_profile

The threshold profile currently associated with this tm_node.

Can be ODP_TM_INVALID indicating no threshold profile is associated.

Definition at line 2048 of file api/spec/traffic_mngr.h.

◆ wred_profile

odp_tm_wred_t odp_tm_node_info_t::wred_profile[ODP_NUM_PACKET_COLORS]

The WRED profile(s) currently associated with this tm_node.

Any or all array elements can be ODP_TM_INVALID indicating no WRED profile is associated with this tm_node/ color combination.

Definition at line 2053 of file api/spec/traffic_mngr.h.

◆ next_tm_node

odp_tm_node_t odp_tm_node_info_t::next_tm_node

The next_tm_node is the "next" node in the tree - i.e.

the fanout of this node. Can be ODP_TM_ROOT if this tm_node directly connects to the egress spigot and can be ODP_TM_INVALID if this tm_node is disconnected from the TM system tree,

Definition at line 2065 of file api/spec/traffic_mngr.h.

◆ level

uint8_t odp_tm_node_info_t::level

The level of this tm_node.

Note that this value cannot be modified after a tm_node has been created,

Definition at line 2069 of file api/spec/traffic_mngr.h.


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