![]() |
![]() |
CPPI descriptor configuration structure. More...
#include <cppi_desc.h>
Data Fields | |
Qmss_MemRegion | memRegion |
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 |
CPPI descriptor configuration structure.
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.
uint32_t Cppi_DescCfg::descNum |
Number of descriptors that should be configured with value below
Type of descriptor - Host or Monolithic
int32_t Cppi_DescCfg::destQueueNum |
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
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
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
Qmss_Location Cppi_DescCfg::returnPushPolicy |
Indicates how the CPDMA returns descriptors to free queue
Qmss_Queue Cppi_DescCfg::returnQueue |
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