On Tue, Jan 29, 2019 at 09:43:41AM +0100, Joerg Roedel wrote: > From: Joerg Roedel <[email protected]> > > This function returns the maximum segment size for a single > dma transaction of a virtio device. The possible limit comes > from the SWIOTLB implementation in the Linux kernel, that > has an upper limit of (currently) 256kb of contiguous > memory it can map. Other DMA-API implementations might also > have limits. > > Use the new dma_max_mapping_size() function to determine the > maximum mapping size when DMA-API is in use for virtio. > > Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> > Signed-off-by: Joerg Roedel <[email protected]>
Looks good, Reviewed-by: Christoph Hellwig <[email protected]> _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
