I have a setup where I recieve Ethernet Packets through AXI Ethernet Subsytem together with AXI DMA. Between the two modules I have a custom AXI Stream FIFO. My goal is to control/moderate the Interrupts the AXI DMA generates on recieve from the PL. I am aware that the coalesce threshold can be used to somehow achieve this, but I would like to be more flexible. Which would be the easiest way to do this? To my understanding the Interrupts are generated when TLAST is recieved, but my attempt setting TLAST every n-th packet ended in an axidma error interrupt. Is this a valid approach but I'm doing it wrong? Or do I need a custom interrupt source and adjust the DMA drivers accordingly?
I'm glad for any suggestions. Thank you in advance!