# QMSS Low Level Driver Enums
[QMSS, QMSS Low Level Driver Symbols Defined]

## Enumerations

enum | Qmss_AccCmdType { Qmss_AccCmd_DISABLE_CHANNEL = 0x80, Qmss_AccCmd_ENABLE_CHANNEL = 0x81, Qmss_AccCmd_CONFIG_TIMER_CONSTANT = 0x82, Qmss_AccCmd_CONFIG_RECLAIM_QUEUE = 0x83, Qmss_AccCmd_CONFIG_DIVERSION_QUEUE = 0x84 }
| Accumulator channel commands. More...
enum | Qmss_AccPacingMode { Qmss_AccPacingMode_NONE = 0, Qmss_AccPacingMode_LAST_INTERRUPT, Qmss_AccPacingMode_FIRST_NEW_PACKET, Qmss_AccPacingMode_LAST_NEW_PACKET }
| Accumulator configuration - interrupt pacing mode. More...
enum | Qmss_AccEntrySize { Qmss_AccEntrySize_REG_D = 0, Qmss_AccEntrySize_REG_CD, Qmss_AccEntrySize_REG_ABCD }
| Accumulator configuration - list entry size. More...
enum | Qmss_AccCountMode { Qmss_AccCountMode_NULL_TERMINATE = 0, Qmss_AccCountMode_ENTRY_COUNT }
| Accumulator configuration - list count mode. More...
enum | Qmss_AccQueueMode { Qmss_AccQueueMode_SINGLE_QUEUE = 0, Qmss_AccQueueMode_MULTI_QUEUE }
| Accumulator configuration - Multi-Queue Mode. More...
enum | Qmss_Location { Qmss_Location_TAIL = 0, Qmss_Location_HEAD }
| location where the packet is queued More...
enum | Qmss_ManageDesc { Qmss_ManageDesc_UNMANAGED_DESCRIPTOR = 0, Qmss_ManageDesc_MANAGE_DESCRIPTOR }
| Descriptor resource management. More...
enum | Qmss_MemRegion { Qmss_MemRegion_MEMORY_REGION_NOT_SPECIFIED = -1, Qmss_MemRegion_MEMORY_REGION0 = 0, Qmss_MemRegion_MEMORY_REGION1, Qmss_MemRegion_MEMORY_REGION2, Qmss_MemRegion_MEMORY_REGION3, Qmss_MemRegion_MEMORY_REGION4, Qmss_MemRegion_MEMORY_REGION5, Qmss_MemRegion_MEMORY_REGION6,
Qmss_MemRegion_MEMORY_REGION7, Qmss_MemRegion_MEMORY_REGION8, Qmss_MemRegion_MEMORY_REGION9, Qmss_MemRegion_MEMORY_REGION10,
Qmss_MemRegion_MEMORY_REGION11, Qmss_MemRegion_MEMORY_REGION12, Qmss_MemRegion_MEMORY_REGION13, Qmss_MemRegion_MEMORY_REGION14,
Qmss_MemRegion_MEMORY_REGION15, Qmss_MemRegion_MEMORY_REGION16, Qmss_MemRegion_MEMORY_REGION17, Qmss_MemRegion_MEMORY_REGION18,
Qmss_MemRegion_MEMORY_REGION19
}
| Queue Manager's memory regions. More...
enum | Qmss_PdspId { Qmss_PdspId_PDSP1 = 0, Qmss_PdspId_PDSP2 }
| PDSP ID. More...
enum | Qmss_IntdInterruptType { Qmss_IntdInterruptType_HIGH = 0, Qmss_IntdInterruptType_LOW, Qmss_IntdInterruptType_CDMA }
| INTD interrupt types. More...
enum | Qmss_QosMode { Qmss_QosMode_TokenBucket, Qmss_QosMode_RoundRobin }
| QoS cluster mode. More...
enum | Qmss_QosSchedAcctType { Qmss_QosSchedAcctType_PACKETS, Qmss_QosSchedAcctType_BYTES }
| QoS scheduler accounting types. More...

## Enumeration Type Documentation

enum Qmss_AccCmdType

Accumulator channel commands.

Enumerator:

  Qmss_AccCmd_DISABLE_CHANNEL | Accumulator command to disable channel
  Qmss_AccCmd_ENABLE_CHANNEL | Accumulator command to enable channel
  Qmss_AccCmd_CONFIG_TIMER_CONSTANT | Accumulator command to configure timer constant
  Qmss_AccCmd_CONFIG_RECLAIM_QUEUE | Accumulator command to configure reclamation queue
  Qmss_AccCmd_CONFIG_DIVERSION_QUEUE | Accumulator command to configure diversion queue

enum Qmss_AccCountMode

Accumulator configuration - list count mode.

Enumerator:

  Qmss_AccCountMode_NULL_TERMINATE | NULL Terminate Mode - The last list entry is used to store a NULL pointer record (NULL terminator) to mark the end of list. In either case there is room for one less list entry in a page than is actually specified by the host.
  Qmss_AccCountMode_ENTRY_COUNT | Entry Count Mode - The first list entry is used to store the total list entry count (not including the length entry).

enum Qmss_AccEntrySize

Accumulator configuration - list entry size.

Enumerator:

  Qmss_AccEntrySize_REG_D | 'D' register only (4 byte entries) Word 0 : Packet Descriptor Pointer
  Qmss_AccEntrySize_REG_CD | 'C,D' registers (8 byte entries) Word 0 : Packet Length (as reported by queue manager) Word 1 : Packet Descriptor Pointer
  Qmss_AccEntrySize_REG_ABCD | 'A,B,C,D' registers (16 byte entries) Word 0 : Packet Count on Queue (when read) Word 1 : Byte Count on Queue (when read) Word 2 : Packet Length (as reported by queue manager) Word 3 : Packet Descriptor Pointer

enum Qmss_AccPacingMode

Accumulator configuration - interrupt pacing mode.

Enumerator:

  Qmss_AccPacingMode_NONE | Interrupt on entry threshold count only
  Qmss_AccPacingMode_LAST_INTERRUPT | Time delay since last interrupt
  Qmss_AccPacingMode_FIRST_NEW_PACKET | Time delay since first new packet
  Qmss_AccPacingMode_LAST_NEW_PACKET | Time delay since last new packet

enum Qmss_AccQueueMode

Accumulator configuration - Multi-Queue Mode.

Enumerator:

  Qmss_AccQueueMode_SINGLE_QUEUE | Single Queue Mode - The channel monitors a single queue.
  Qmss_AccQueueMode_MULTI_QUEUE | Multi-Queue Mode - The channel monitors up to 32 queues starting at the supplied base queue index.

enum Qmss_IntdInterruptType

INTD interrupt types.

Enumerator:

  Qmss_IntdInterruptType_HIGH | Interrupt generated for the high priority accumulator. 32 interrupts are generated in response to events in the 32 high-priority queues.
  Qmss_IntdInterruptType_LOW | Interrupt generated for the low priority accumulator. 16 interrupts are generated in response to events in the 512 low-priority queues.
  Qmss_IntdInterruptType_CDMA | Interrupt generated for QMSS CDMA. 2 interrupts are generated for buffer descriptor starvation event on receive SOP (start of packet) and MOP (middle of packet) for any of the receive DMA units in the CDMA.

enum Qmss_Location

location where the packet is queued

Enumerator:

  Qmss_Location_TAIL | Queue packet to the tail of the queue. Default behavior.
  Qmss_Location_HEAD | Queue packet to the head of the queue.

enum Qmss_ManageDesc

Descriptor resource management.

Enumerator:

  Qmss_ManageDesc_UNMANAGED_DESCRIPTOR | LLD doesnot manage the descriptors. The caller should manage them.
  Qmss_ManageDesc_MANAGE_DESCRIPTOR | LLD manages the descriptors. The descriptors are reclaimed using the QMSS_initDescriptor() or CPPI_initDescriptor() APIs

enum Qmss_MemRegion

Queue Manager's memory regions.

Enumerator:

  Qmss_MemRegion_MEMORY_REGION_NOT_SPECIFIED | Memory region not specified. LLD allocates the next available memory region
  Qmss_MemRegion_MEMORY_REGION0 | Configure memory region0.
  Qmss_MemRegion_MEMORY_REGION1 | Configure memory region 1.
  Qmss_MemRegion_MEMORY_REGION2 | Configure memory region 2.
  Qmss_MemRegion_MEMORY_REGION3 | Configure memory region 3.
  Qmss_MemRegion_MEMORY_REGION4 | Configure memory region 4.
  Qmss_MemRegion_MEMORY_REGION5 | Configure memory region 5.
  Qmss_MemRegion_MEMORY_REGION6 | Configure memory region 6.
  Qmss_MemRegion_MEMORY_REGION7 | Configure memory region 7.
  Qmss_MemRegion_MEMORY_REGION8 | Configure memory region 8.
  Qmss_MemRegion_MEMORY_REGION9 | Configure memory region 9.
  Qmss_MemRegion_MEMORY_REGION10 | Configure memory region 10.
  Qmss_MemRegion_MEMORY_REGION11 | Configure memory region 11.
  Qmss_MemRegion_MEMORY_REGION12 | Configure memory region 12.
  Qmss_MemRegion_MEMORY_REGION13 | Configure memory region 13.
  Qmss_MemRegion_MEMORY_REGION14 | Configure memory region 14.
  Qmss_MemRegion_MEMORY_REGION15 | Configure memory region 15.
  Qmss_MemRegion_MEMORY_REGION16 | Configure memory region 16.
  Qmss_MemRegion_MEMORY_REGION17 | Configure memory region 17.
  Qmss_MemRegion_MEMORY_REGION18 | Configure memory region 18.
  Qmss_MemRegion_MEMORY_REGION19 | Configure memory region 19.

enum Qmss_PdspId

PDSP ID.

Enumerator:

  Qmss_PdspId_PDSP1 | PDSP 1
  Qmss_PdspId_PDSP2 | PDSP 2

enum Qmss_QosMode

QoS cluster mode.

Enumerator:

  Qmss_QosMode_TokenBucket | Modified Token Bucket Mode
  Qmss_QosMode_RoundRobin | Round Robin Mode

enum Qmss_QosSchedAcctType

QoS scheduler accounting types.

Enumerator:

  Qmss_QosSchedAcctType_PACKETS | credits are accounted in packets with QMSS_QOS_SCHED_PACKETS_SCALE_SHIFT
  Qmss_QosSchedAcctType_BYTES | credits are accounted in bytes with QMSS_QOS_SCHED_BYTES_SCALE_SHIFT

Copyright 2012, Texas Instruments Incorporated