PDK API Guide for J721E
|
Param struct for the Tx channel open function.
The parameter structure for the Tx channel open function, containing a channel config structure.
Data Fields | |
Udma_DrvHandle | hUdmaDrv |
uint32_t | chNum |
CpswDma_UdmaChPrms | udmaChPrms |
CpswDma_UdmaChTxPrms | udmaTxChPrms |
CpswDma_PktNotifyCb | notifyCb |
uint32_t | numTxPkts |
bool | disableCacheOpsFlag |
CpswDma_AllocRingMemFxn | ringMemAllocFxn |
CpswDma_FreeRingMemFxn | ringMemFreeFxn |
CpswDma_AllocDmaDesccFxn | dmaDescAllocFxn |
CpswDma_FreeDmaDescFxn | dmaDescFreeFxn |
void * | hCbArg |
bool | useProxy |
Udma_DrvHandle CpswDma_OpenTxChPrms::hUdmaDrv |
UDMA driver handle
uint32_t CpswDma_OpenTxChPrms::chNum |
UDMA channel to number allocated for transmit. Set to UDMA_DMA_CH_ANY if the channel to allocate and open could be any from the free pool
CpswDma_UdmaChPrms CpswDma_OpenTxChPrms::udmaChPrms |
UDMA channel params
CpswDma_UdmaChTxPrms CpswDma_OpenTxChPrms::udmaTxChPrms |
UDMA transmit channel params
CpswDma_PktNotifyCb CpswDma_OpenTxChPrms::notifyCb |
CPSW DMA event callback function - this function will be called when the registered packets are transmitted on TX channel
uint32_t CpswDma_OpenTxChPrms::numTxPkts |
Maximum number of transmit packets, used for allocating number of DMA descriptors Note - The HW ring element count field is 19-bit
bool CpswDma_OpenTxChPrms::disableCacheOpsFlag |
Flag to disable cache operations on the ring memory
CpswDma_AllocRingMemFxn CpswDma_OpenTxChPrms::ringMemAllocFxn |
Callback functions. Callback function typedefs so that the CpswDma layer can call into the app layer and let it translate between the hardware buffer descriptors and packets and the stack/translation layer's buffers and packets
Ring memory allocation callback, this cannot be NULL
CpswDma_FreeRingMemFxn CpswDma_OpenTxChPrms::ringMemFreeFxn |
Ring memory free function callback, used in close flow
CpswDma_AllocDmaDesccFxn CpswDma_OpenTxChPrms::dmaDescAllocFxn |
DMA HPD (host packet descriptor) memory allocation callback
CpswDma_FreeDmaDescFxn CpswDma_OpenTxChPrms::dmaDescFreeFxn |
Transmit HPD (host packet descriptor) memory free callback
void* CpswDma_OpenTxChPrms::hCbArg |
Argument to be used for the callback routines (it should mean something to layer into which the callback calls)
bool CpswDma_OpenTxChPrms::useProxy |
Flag to indicate if a dedicated proxy should be allocated for the "FQ" for this flow. This should be enabled only for those flows that require very high throughput as there are limited proxy available in the system