I am doing a simple rdma-read test using the kDAPL. My test is running in the kernel model.<br clear="all">When
I allocate both the data source and sink buffers using kmalloc() and
register the buffers using dat_lmr_kcreate() with memory type
DAT_MEM_TYPE_PHYSICAL, everything goes well. If the sink buffer is
allocated with vmalloc() and registered as before, no registering error
or rdma read DTO completion error occours but <br>
My questions:<br>
1) Could a buffer allocated with vmalloc() be used for a kDAPL rdma reading?<br>
If so,<br>
2) should a buffer of this kind be registered in the same as a buffer allocated with kmalloc()?<br>
<br>
Could anyone give some suggestion?<br>
Thanks very much!<br>-- <br>Ian Jiang<br><a href="mailto:ianjiang.ict@gmail.com">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