> By the way, by userspace DMA do you mean DMA to userspace buffers, or
 > DMA initiated by userspace? I'm assuming the former, but if it's the
 > latter, how are the addresses returned from dma_map_sg communicated to
 > userspace?

Actually, both.  Userspace deals in virtual addresses (it asks the
kernel to register memory in advance, and the kernel loads the IB
device with the virtual -> bus mapping).

 - R.

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to