[openib-general] problem with 2.6.19?

Roland Dreier rdreier at cisco.com
Mon Oct 30 07:52:42 PST 2006


 > 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.




More information about the general mailing list