After verifying the proxy driver is in the kernel, run the application. Below is the expected output. Be sure not to enable the verify feature when using this example design. The verify option will not work with this hardware implementation because the TX channel is not looped back to the RX channel.
Please refer the Linux DMA From User Space article for a description of the arguments.
root@xilinx-zcu102-2021_1:~# dma-proxy-test 10000 128
DMA proxy test
Verify = 0
Time: 125905 microseconds
Transfer size: 1280000 KB
Throughput: 10410 MB / sec
DMA proxy test complete
After running the application the two tasks completed were:
-
The 3 RX channels received data into user space from the MCDMA.
-
The 3 TX channels transmitted data from user space to the MCDMA TX AXI stream ports.