Data Fields
Qmss_QosSchedPortCfg Struct Reference

QoS scheduler port configuration. More...

#include <qmss_qosSched.h>

Data Fields

Qmss_QosSchedAcctType wrrType
Qmss_QosSchedAcctType cirType
Qmss_QosSchedAcctType congestionType
Qmss_QosSchedAcctType outThrotType
int32_t cirIteration
int32_t cirMax
uint8_t overheadBytes
uint8_t removeBytes
uint16_t outThrotThresh
int8_t groupCount
Qmss_QosSchedGroupCfg group [QMSS_QOS_SCHED_FULL_MAX_LOG_GROUPS]
Qmss_Queue outputQueue

Detailed Description

QoS scheduler port configuration.


Field Documentation

Committed information rate per iteration in cirType units

Max committed information rate credit in cirType units

Determines if committed information rate and peak information rate are specified in bytes or packets

Determines if congestion thresholds are specified in bytes or packets

Configuration for up to 5 groups

Number of logical groups in group

Output/egress queue associated with this port

Number of bytes or packets allowed in the output queue at any given time. Once this limit is reached, no further packets will be forwarded for this port on this tick. However, unused credits are stored the cir to be used on the next tick (up to cirMax) A value of 0 indicagtes no limit.

Determines if output throttle threshold is specified in bytes or packets

Number of bytes of wire overhead to account, beyond packet size in QM. This is often set to 24. This only affects credits deducted, not statistics. It also only has effect on credits configured as bytes, not packets. 0 is valid. This could be used to charge credits for preamble, start of frame, interframe gap, and CRC on ethernet. Note that both overheadBytes and removeBytes are applied to each packet if they are nonzero.

Number of bytes of accounting to remove from each packet in QM. This is often set to 24. This only affects credits deducted, not statistics. It also only has effect on credits configured as bytes, not packets. 0 is valid. This can be used to remove accounting for L1 or L2 headers in order to do L3 or L4 based shaping. Warning: if any packet enters QoS with a size less than this value, it will cause QoS to break. This is typically cuased by passing, unintentionally, a 0 value. Make sure the "C" register gets set for all packets before using this parameter. Note that both overheadBytes and removeBytes are applied to each packet if they are nonzero.

Determines if weighted round robin parameters are specified in bytes or packets


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

Copyright 2014, Texas Instruments Incorporated