Forum Discussion
Altera_Forum
Honored Contributor
15 years agoChaining DMA Scatter-Gather mode problems (SG-DMA)
Hey guys, I got some problems in the Chaining DMA (CDMA) SG-DMA mode. Based on the source code of the Altera PCI-E DEMO program, I am using WinDriver to develop the application. When tran...
Altera_Forum
Honored Contributor
15 years agoIn the process of chaining dma, the smallest data dma_read & dma_write support in a TLP-unit is 4(DW). but actually, we find the data-playload of each TLP is not multiple of the 4(dw) sometimes, it will make mismatch of data in dma read then write .
Ask: What shouled I do to make sure the data-length is multiple of 4 in DT(Descriptor -table), and also with the data-length of each TLP?