Hello
When we test xdma driver on f37x card we found that data verification will be failed when dma large amount of data.
The software environment we use is Ubuntu 18.04.4, Kernel 4.15.0-112-generic
We have test the xdma version 2019.1, 2019.2, 2020.1 from the github, all the test results are the same.
Could anyone give us some help to find the reason thanks alot!
Here is our test step:
1. sending 1KB, data compare success:
sudo ./dma_to_device -d /dev/xdma0_h2c_0 -s 1024 -f /nfs-share/blank_1024.bin
sudo ./dma_from_device -d /dev/xdma0_c2h_0 -s 1024 -f xxx
cmp xxx /nfs-share/blank_1024.bin
2. sending 800KB, data compare failed:
sudo ./dma_to_device -d /dev/xdma0_h2c_0 -s 819200 -f /nfs-share/blank_819200.bin
sudo ./dma_from_device -d /dev/xdma0_c2h_0 -s 819200 -f xxx
cmp xxx /nfs-share/blank_819200.bin
xxx /nfs-share/blank_819200.bin differ: byte 1, line 1
xdma test
Thanks for your support.
Regards,
Ke