Skip to contentSkip to conversation

Use DMA Test Kernel Module for FPGA Device

DISCUSSION Eric Schwarz 1 participant 1 message Apr 23, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

I think it is not possible to use the dmatest [1] kernel framework for testing a DMA engine located in an FPGA where the FPGA is connected to the host system over PCIe. However, does any one have out-of-tree patches in order to do so for dmatest or knows a project which could be used for that case?

System setup:

                                         +-------+
                                         |  DDR  |
                                         +-------+
                                             |
                                             |
+--------------+                   +-------------------+
|              |                   | +------------+    |
|              |                   | | DMA Engine |    |
|              |      PCIe         | +------------+    |
|     CPU      +<----------------->+                   |
|              |                   |       FPGA        |
|              |                   |                   |
|              |                   |                   |
+--------------+                   +-------------------+

[1] https://www.kernel.org/doc/html/latest/driver-api/dmaengine/dmatest.html

Many thanks
Eric