Altera_Forum
Honored Contributor
15 years agoTSE with the dual SGDMA modules...
Hi All,
I guess I am uncertain how the TX/RX dma's work on the TSE - specifically I am looking to be able to read a few bytes out of a packet, use these bytes to select a memory mapped data structure (one of say 16 port buffers), calculate the start dma position from the buffer's rd/wr pointers, then load the descriptor on the rx dma and pull the trigger.... is this possible while still using the standard BSP generated code? I am thinking I am missing something - if the tse performs all of this on the fly without allowing the kind of mid-stream sorting of data that I am looking to do, then I will need to change my approach. Meaning if the tse allocates ram, transfers the data and gives back pointers into memory, then I could use a linked list approach to handling the data... sorting the list into queues and maintaining the lists for egress port transfers (via another SGDMA)...