Hi James,<br>
You are always so kind!<br>
Now I have a question about reading a buffer of a application in user space.<br>
Is it the only way to use the uDAPL?<br>
I used to have an idea like this: <br>
The application in user space gives the virtual start address and
length of its data buffer to a kernel module program. This kernel
program acts as a application of the kDAPL and registers the user space
data buffer with the kDAPl, then request a RDMA read operation to
complete the data transferring.<br>
But I think it is not feasible after getting your last reply. Am I right?<br>
Please give some suggestion and thanks very much!<br>
<br><div><span class="gmail_quote">On 12/6/05, <b class="gmail_sendername">James Lentini</b> <<a href="mailto:jlentini@netapp.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jlentini@netapp.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ian,<br><br>An IB HCA needs to be able to DMA the memory used for RDMA read. Since<br>vmalloc does not guarantee that the memory it returns can be accessed<br>via DMA, you should not use vmalloc.<br><br>james<br></blockquote>
</div><br><br clear="all"><br>-- <br>Ian Jiang<br><a href="mailto:ianjiang.ict@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ianjiang.ict@gmail.com</a><br><br>Laboratory of Spatial Information Technology
<br>Division of System Architecture<br>Institute of Computing Technology
<br>Chinese Academy of Sciences