The DMA mapping operations are in the hot path so it is important that
the overhead of these operations is as low as possible. There has been a
reason in the past to have DMA mapping operations that are specific to
the IB subsystem but that reason no longer exists today. Hence this
patch series that eliminates the if (dev->dma_ops) test from the hot
path. An additional benefit is that the size of HW and SW drivers that
do not use DMA is reduced by switching to dma_noop_ops. The patches in
this series are:
0001-treewide-constify-most-struct-dma_map_ops.patch
0002-misc-vop-Remove-a-cast.patch
0003-Move-dma_ops-from-archdata-into-struct-device.patch
0004-IB-Switch-from-struct-ib_dma_mapping_ops-to-struct-d.patch
0005-treewide-Inline-ib_dma_map_-functions.patch
As usual, feedback is welcome.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html