Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG
EnetUdma_initTxFreeDescQ (enet_udma_priv.c) I was getting hit by "[Enet UDMA Error] Tx DMA descriptor memory allocation failed !" assertion. I did some debugging and in EnetMem_allocDmaDesc the dequeued dma descriptor fails the ENET_UTILS_IS_ALIGNED macro and therefore the function returns it back to the queue and returns null. This null is the reason for the assertion mentioned above.EnetUdma_initTxFreeDescQ is UDMA_CACHELINE_ALIGNMENT (=128). However the gDmaDescMemInfoArray, which to my limited understanding is the underlying memory for (or is at least related to) dmaDescFreeQ, in the SysCfg generated ti_enet_config.c has alignment ENETDMA_CACHELINE_ALIGNMENT (=32).gDmaDescMemArray and gDmaDescMemInfoArray from ENETDMA_CACHELINE_ALIGNMENT to UDMA_CACHELINE_ALIGNMENT our application started working again.