Data Fields
Cppi_DescCfg Struct Reference

CPPI descriptor configuration structure. More...

#include <cppi_desc.h>

Data Fields

Qmss_MemRegion memRegion
uint32_t queueGroup
uint32_t descNum
int32_t destQueueNum
Qmss_QueueType queueType
Cppi_InitDesc initDesc
Cppi_DescType descType
Qmss_Queue returnQueue
Qmss_Location returnPushPolicy
Cppi_EPIB epibPresent
union {
   Cppi_HostDescCfg   host
   Cppi_MonolithicDescCfg   mono
cfg

Detailed Description

CPPI descriptor configuration structure.


Field Documentation

union { ... } Cppi_DescCfg::cfg

Union contains configuration that should be initialized in for host or monolithic descriptor. The configuration for host or monolithic descriptor is choosen based on "descType" field. The approriate structure fields must be specified if "initDesc" field is set to CPPI_INIT_DESCRIPTOR.

Number of descriptors that should be configured with value below

Type of descriptor - Host or Monolithic

Queue where the descriptor is stored. If destQueueNum is set to QMSS_PARAM_NOT_SPECIFIED then the next available queue of type Qmss_QueueType will be allocated. This is actually a 16-bit QID including queue manager number.

Indicates presence of EPIB

Host descriptor configuration parameters

Descriptor configuration parameters Indicates if the descriptor should be initialized with parameters listed below

Qmss_MemRegion Cppi_DescCfg::memRegion

Memory Region corresponding to the descriptor.

Monolithic descriptor configuration parameters

Group for memRegion (only applicable in when QMSS is in split mode)

Qmss_QueueType Cppi_DescCfg::queueType

If destQueueNum is set to QMSS_PARAM_NOT_SPECIFIED then the next available queue of type Qmss_QueueType will be allocated

Indicates how the CPDMA returns descriptors to free queue

Indicates return Queue Manager and Queue Number. If both qMgr and qNum in returnQueue is set to QMSS_PARAM_NOT_SPECIFIED then the destQueueNum is configured in returnQueue of the descriptor


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

Copyright 2014, Texas Instruments Incorporated