Hi,
I need to build a custom PCIe linux driver running on a DM8168 configured in RC mode, communicating with a custom endpoint implemented in a fpga. I would like to initiate a data transfers between the DM8168 memory and the fpga memory (read and write operations, always initiated by the A8) without taking too much time on the cpu.
1- Are dma transfers (from A8 DDR to PCIESS) somehow automaticaly handled by the PSP pcie RC driver ?
2- If not, do they need to be started in kernel mode by the EP driver or they can be started in user mode ?
3- Would it be easier to make the FPGA initiate all huge read/write transactions so the DM8168 would be slave and not requiring DMA?
Regards,
Pierre-Olivier