aboutsummaryrefslogtreecommitdiff
path: root/lib/dma-virt.c
AgeCommit message (Collapse)AuthorFilesLines
2017-06-28dma-virt: remove dma_supported and mapping_error methodsChristoph Hellwig1-12/+0
These just duplicate the default behavior if no method is provided. Signed-off-by: Christoph Hellwig <[email protected]>
2017-01-24lib/dma-virt: Add dma_virt_opsBart Van Assche1-0/+72
Several RDMA drivers (hfi1, qib and rxe) expect that ib_sge.addr is a virtual address. Provide DMA mapping operations that are suitable for these drivers. Signed-off-by: Bart Van Assche <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Signed-off-by: Doug Ledford <[email protected]>