I was successfully able to send across a “Hello World!” from endpoint using mmap() and memcpy() functions, and I was able to read it back as well.
However, I tried sending a 20KB text file from endpoint, and I could read back only 4KB on the root (the rest of the data was just garbage). I was wondering how to debug this.
If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.
So in this case, should I just do a memcpy() our data into the output we get for pci_epf_nv_test.0: BAR0 RAM virt or the pci_epf_nv_test.0: BAR0 RAM IOVA:?