Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dma-virt: remove dma_supported and mapping_error methods | Christoph Hellwig | 2017-06-28 | 1 | -12/+0 |
| | | | | | | These just duplicate the default behavior if no method is provided. Signed-off-by: Christoph Hellwig <hch@lst.de> | ||||
* | lib/dma-virt: Add dma_virt_ops | Bart Van Assche | 2017-01-24 | 1 | -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 <bart.vanassche@sandisk.com> Cc: Christian Borntraeger <borntraeger@de.ibm.com> Cc: Joerg Roedel <jroedel@suse.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Doug Ledford <dledford@redhat.com> |