Hi, currently in the SDK, data is only transferred using the EP DMA RC method. How can we implement RC DMA EP? I am looking for a way to achieve DMA data transfer between EP and RC. Are there any relevant examples and documentation available
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.
Hi, currently in the SDK, data is only transferred using the EP DMA RC method. How can we implement RC DMA EP? I am looking for a way to achieve DMA data transfer between EP and RC. Are there any relevant examples and documentation available
您好,我正在使用 SDK7.3。我使用的驱动程序是 pci_endpoint_test.c 和 pci-epf-test.c。pci-epf-test.c 负责向 BAR 写入命令和地址,而 pci-epf-test.c 负责处理 EPC 空间的分配和 EPC 到 RC DMA 地址的出站转换,最后使用 DMA EPC 进行数据传输。然而,RC 使用命令通知 EP,然后 EP 使用 DMA 响应的过程导致 RC 的通信效率较低。所以,我想知道是否有办法让 RC 直接 DMA BAR 访问 EP 数据?
Translated above reply:
Hi, I'm using SDK7.3. The drivers I use are pci_endpoint_test.c and pci-epf-test.c. pci-epf-test.c is responsible for writing commands and addresses to the BAR, while pci-epf-test.c is responsible for handling the allocation of EPC space and the outbound translation of EPC to RC DMA addresses, and finally using DMA EPC for data transfer. However, the process in which RC notifies EP using commands and then EP responds using DMA results in lower communication efficiency of RC. So, I'm wondering if there is a way for the RC to DMA BAR directly to access the EP data?
Hi,
Kindly expect delay in response, due to year end all our experts are on vacation.
Best Regards,
Sudheer
Hi Qiang,
Apologies for the delay. Please reference this other E2E with similar question: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1234793/tda4vm-how-can-we-use-dma-to-transfer-data-from-nvm-e-g-ssd-pcie-to-ddr-in-tda4vh-or-tda4vm/4680813?tisearch=e2e-sitesearch&keymatch=pcie%25252520dma#4680813.
Regards,
Takuma