dma_ip_drivers icon indicating copy to clipboard operation
dma_ip_drivers copied to clipboard

Is it possible to merge descriptors with contiguous pages in XDMA?

Open hisilic opened this issue 3 years ago • 1 comments

@karenx-xilinx xdma driver create scatter gather list using get_user_pages_fast(), so the length of each sgl elements is up to PAGE_SIZE. When we are building transfers, xdma driver fill in descriptors according to sgl elements. So the transfer size of each descriptor is up to PAGE_SIZE. Is it possible to merge descriptors with contiguous pages? Maybe the bandwidth will be improved with merged large block transfer.

hisilic avatar Aug 25 '22 06:08 hisilic

@hisilic Yes it is indeed possible. I have specifically reworked the driver to this end. you can find it on my repo under branch reworked_xdma_main: https://github.com/Prandr/dma_ip_drivers

Prandr avatar May 27 '25 16:05 Prandr