I am performing DMA on PCIe based Altera Arria 2 board. I have installed Jungo Driver on it and am transferring 500kb of data from host PC(x86,win7) to the device.
In scatter gather DMA,
1. Will WD_DmaLock() API return me the Scatter Gather List?
2. If so,should I fill the descriptor table from the SG list thus obtained from WD_DmaLock API , to suit the device requirements?
3. If I have to fill the descriptor table, should I lock the Descriptor table buffer as well?
In contiguous buffer DMA,
1. Where do I have to assign the application buffer virtual address in WD_DmaLock() API?