dma_ip_drivers
dma_ip_drivers copied to clipboard
Is it possible to merge descriptors with contiguous pages in XDMA?
@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 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