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

From
Bart Van Assche <hidden>
Date
2017-01-17 22:02:25
Also in
lkml
Reply to
Bart Van Assche, 2017-01-17
On Tue, 2017-01-17 at 13:48 -0800, Bart Van Assche wrote:
On Sat, 2017-01-14 at 02:05 +0000, Estrin, Alex wrote:
quoted
[ ... ]
please see hfi1/verbs.c @ hfi1_register_ib_device()  
[ ... ]
Hello Alex,

I think I figured out what I did wrong: both the hfi1 and the qib drivers need two
sets of DMA mapping operations. ULPs have to use &dma_virt_ops and the SDMA code
has to use the PCIe DMA mapping operations. My patch series made the SDMA code use
dma_virt_ops and that's wrong. The attached patch should fix this. Unfortunately I
do not have access to a hfi1 or qib test setup. Can you help me by testing the
attached patch on top of the already posted patches?
Hello Alex,

The wrong version of my patch was attached to previous e-mail. Sorry for this. Please
use the patch attached to this e-mail.

Thanks,

Bart.

Attachments

Thread (45 messages) 45 messages, 9 authors, last reply 2017-01-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help