Qmss_QosClusterCfgRR Struct Reference

QoS cluster configuration structure for Round Robin. More...

#include <qmss_qos.h>


Data Fields

uint32_t maxGlobalCredit
uint8_t qosQueHighCnt
uint8_t qosQueNumHigh [QMSS_QOS_MAX_QUE_RR_HIGH_PRI]
uint8_t qosQueLowCnt
uint8_t qosQueNumLow [QMSS_QOS_MAX_QUE_RR_LOW_PRI]
uint16_t sizeAdjust
uint8_t egressQueCnt
Qmss_Queue egressQueNum [QMSS_QOS_MAX_QUE_RR_EGRESS]
uint32_t iterationCredit
uint32_t maxEgressBacklog
uint32_t queueDisableMask


Detailed Description

QoS cluster configuration structure for Round Robin.


Field Documentation

uint32_t Qmss_QosClusterCfgRR::maxGlobalCredit

The maximum amount of global credit allowed to carry over to the next queue. Excess global credit is discarded

uint8_t Qmss_QosClusterCfgRR::qosQueHighCnt

The number of high priority QOS queues in this cluster. Valid value is 4.

uint8_t Qmss_QosClusterCfgRR::qosQueNumHigh[QMSS_QOS_MAX_QUE_RR_HIGH_PRI]

The queue index (0 to 63) of each QOS queue in the high priority round robin group. These queue indices are relative to the configured QOS queue base index. These fields must be set to 56, 57, 58, and 59 respectively. Ensure that the base address passed into Qmss_setQosQueueBase supports 64 queues.

uint8_t Qmss_QosClusterCfgRR::qosQueLowCnt

The number of high priority QOS queues in this cluster. Valid value is 4.

uint8_t Qmss_QosClusterCfgRR::qosQueNumLow[QMSS_QOS_MAX_QUE_RR_LOW_PRI]

The queue index (0 to 63) of each QOS queue in the low priority round robin group. These queue indices are relative to the configured QOS queue base index. These fields must be set to 60, 61, 62, and 63 respectively. Ensure that the base address passed into Qmss_setQosQueueBase supports 64 queues.

uint16_t Qmss_QosClusterCfgRR::sizeAdjust

This field holds the value of a packet size adjustment that can be applied to each packet. For example, setting this value to 24 can adjust for the preamble, inter-packet gap, and CRC for packets without CRC being sent over Ethernet. This adjustment value is applied across all queues.

uint8_t Qmss_QosClusterCfgRR::egressQueCnt

The total number of egress queues sampled to obtain the egress queue congestion estimation. Valid value is 1.

Qmss_Queue Qmss_QosClusterCfgRR::egressQueNum[QMSS_QOS_MAX_QUE_RR_EGRESS]

The Queue manger and Queue index of every (1) egress queue enumerated in Egress Queue Count. These queue indices are absolute index values

uint32_t Qmss_QosClusterCfgRR::iterationCredit

This is the per timer tick real time iteration credit for the cluster. (The iteration credit specified in each of the round robin queues is ignored.)

uint32_t Qmss_QosClusterCfgRR::maxEgressBacklog

This is the max number of bytes allowed to reside in the egress queue(s). Note that packets will be written until this threshold is crossed, so the actual number of bytes queued can be larger.

uint32_t Qmss_QosClusterCfgRR::queueDisableMask

This 8-bit mask contains 1 bit for each QOS queue in the cluster. When this bit is set for its corresponding QOS queue, the queue is disabled for forwarding.


The documentation for this struct was generated from the following file:
Copyright 2014, Texas Instruments Incorporated