API Reference Manual  1.45.0
odp_tm_queue_info_t Struct Reference

The odp_tm_queue_info_t record type is used to return various bits of information about a given tm_queue via the odp_tm_queue_info() function. More...

#include <traffic_mngr.h>

Collaboration diagram for odp_tm_queue_info_t:
[legend]

Data Fields

odp_tm_shaper_t shaper_profile
 The shaper profile currently associated with this tm_queue. More...
 
odp_tm_threshold_t threshold_profile
 The threshold profile currently associated with this tm_queue. More...
 
odp_tm_wred_t wred_profile [ODP_NUM_PACKET_COLORS]
 The WRED profile(s) currently associated with this tm_queue. More...
 
odp_tm_node_t next_tm_node
 The next_tm_node is the "next" node in the tree - i.e. More...
 
odp_packet_t active_pkt
 The active_pkt is the current packet "at the head of the queue" that is being processed by this tm_queue.
 

Detailed Description

The odp_tm_queue_info_t record type is used to return various bits of information about a given tm_queue via the odp_tm_queue_info() function.

Examples
odp_traffic_mgmt.c.

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

Field Documentation

◆ shaper_profile

odp_tm_shaper_t odp_tm_queue_info_t::shaper_profile

The shaper profile currently associated with this tm_queue.

Can be ODP_TM_INVALID indicating no shaper profile is currently associated with this tm_queue.

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

◆ threshold_profile

odp_tm_threshold_t odp_tm_queue_info_t::threshold_profile

The threshold profile currently associated with this tm_queue.

Can be ODP_TM_INVALID indicating no threshold profile is currently associated with this tm_queue.

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

◆ wred_profile

odp_tm_wred_t odp_tm_queue_info_t::wred_profile[ODP_NUM_PACKET_COLORS]

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

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

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

◆ next_tm_node

odp_tm_node_t odp_tm_queue_info_t::next_tm_node

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

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

Examples
odp_traffic_mgmt.c.

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


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