HI ,TI experts
Our use Software Version is SDK 8.6。
why the network driver tx&rx needs to perform interrupt disable and enable operations for the DMA, while other modules that use DMA do not require similar operations? Can we avoid disabling and enabling interrupts in the DMA critical functions of the network driver in Linux and PDK?
Linux:
am65_cpsw_nuss_tx_irq
-->disable_irq_nosync(irq)
am65_cpsw_nuss_tx_poll
---> enable_irq(tx_chn->irq);
PDK:
Lwip2Enet_notifyRxPackets
-->EnetDma_disableRxEvent(rx->hFlow)
Lwip2Enet_rxPacketTask
-->EnetDma_enableRxEvent(rx->hFlow)
Best regards
Alex