Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1558755

Re: [PATCH v2 00/26] IB: Optimize DMA mapping

From Sagi Grimberg <sagi@grimberg.me>
Newsgroups linux.kernel
Subject Re: [PATCH v2 00/26] IB: Optimize DMA mapping
Date 2017-01-13 22:30 +0100
Message-ID <sZhA6-5To-9@gated-at.bofh.it> (permalink)
References <sYT4K-7Od-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> Hello Doug,
>
> As you know there are two sets of DMA mapping operations in the Linux
> kernel:
> - One set of DMA mapping operations that is used by most drivers.
> - Another set of DMA mapping operations that is only used by the RDMA
>   drivers.
> Having two sets of DMA mapping operations is not only a source of
> confusion but also a source of unnecessary overhead. The DMA mapping
> operations are in the hot path so it is important that the overhead
> of these operations is as low as possible. Hence this patch series
> that converts the RDMA code to the standard DMA mapping API and
> thereby 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_virt_ops.

This looks really good!

Thanks Bart for doing this,

For the series:

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 00/26] IB: Optimize DMA mapping Sagi Grimberg <sagi@grimberg.me> - 2017-01-13 22:30 +0100

csiph-web