Xilinx / dma_ip_drivers

Xilinx QDMA IP Drivers
https://xilinx.github.io/dma_ip_drivers/
581 stars 421 forks source link

Possible bug in libxdma.c #189

Open ea1crb opened 1 year ago

ea1crb commented 1 year ago

Hello all,

I am experiencing some problems with transactions using xdma (C2H) in stream mode. When transferring large data blocks with eops, quite frequently returned number of bytes from read is very large (either positive or negative). Should line 969 in libxdma.c be

transfer->desc_cmpl = *pdesc_completed;

instead of

transfer->desc_cmpl += *pdesc_completed;

Thanks. Regards,

Javier

HepoH3 commented 1 year ago

Hi, I think (#161) propose what you're talking about.