This is a tree wide change and has been kept separate for that reason.
Bart Van Assche noted that the ib DMA mapping code was significantly
similar enough to the core DMA mapping code that with a few changes
it was possible to remove the IB DMA mapping code entirely and
switch the RDMA stack to use the core DMA mapping code. This resulted
in a nice set of cleanups, but touched the entire tree. This branch
will be submitted separately to Linus at the end of the merge window
as per normal practice for tree wide changes like this.
IB/rxe, IB/rdmavt: Use dma_virt_ops instead of duplicating it
Make the rxe and rdmavt drivers use dma_virt_ops. Update the
comments that refer to the source files removed by this patch.
Remove struct ib_dma_mapping_ops. Remove ib_device.dma_ops.
Signed-off-by: Bart Van Assche <firstname.lastname@example.org>
Cc: Andrew Boyer <email@example.com>
Cc: Dennis Dalessandro <firstname.lastname@example.org>
Cc: Jonathan Toppins <email@example.com>
Cc: Alex Estrin <firstname.lastname@example.org>
Cc: Leon Romanovsky <email@example.com>
Reviewed-by: Leon Romanovsky <firstname.lastname@example.org>
Signed-off-by: Doug Ledford <email@example.com>
13 files changed