This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: PCIe RC driver EDMA support

Part Number: AM5728


Tool/software: Linux

Hi,

TI,

I now use am5728(run linux) to communicate with FPGA,but I found the speed is very slow,because I use mmap and memcpy function to do it.

I want to use edma to finish the communication,so I want to know whether the pcie rc driver support edma.

Is there a reference?

BR,

vefone

  • The software team have been notified. They will respond here.
  • Hi, Vefone,

    None of the PCI host controller drivers in linux uses DMA since the use case is limited to programming the PCI device (memory space/registers mapped in EP BAR's). The EP's use it's own DMA to transfer data to RC buffers.

    We'd like to know your use case. What kind of data will be transferred between RC and EP, and also:
    1) Does the Endpoint have DMA? If EP has DMA will it help and is the DMA on RC still needed?
    2) Are you looking for user space API to program DMA?

    Rex
  • Hi, Vefong,

    We evaluated your requirement and wonder if you can take drivers/dma/dmatest.c as an example to do memcopy DMA to a mapped region?
    If you don't have other questions, I'll close this thread. For any other issues, please submit a new thread.

    Thanks!

    Rex