[ofw] RDMA - send for multiple packets (can we use same key andvaddr + offset)

Sean Hefty sean.hefty at intel.com
Wed May 14 09:04:31 PDT 2008


In principal this should work.  What did you set for your transfer size?

 

Is rdma_vaddr a uint64 or void*?  (I'm not sure that adding to a void * is
standardized.)

 

 

I am able to successfully do a RDMA_WRITE operation with the given key and given
vaddr for the first packet
send_wr.remote_ops.rkey = rdma_key; // #RDMA#
send_wr.remote_ops.vaddr = rdma_vaddr; // #RDMA#

But I am not able to transfer the second packet by changing the rdma_vaddr
send_wr.remote_ops.rkey = rdma_key; // #RDMA#
send_wr.remote_ops.vaddr = rdma_vaddr + pkt_num*pkt_size; // #RDMA to the next
memory location in the same registered buffer

I am not sure whether it is legal to give a different virtual address(vaddr +
offset) associated rdma_key with vaddr for RDMA_WRITE operation?
OR
Do i have to register all buffers individually and obtain different key
associated with it?
OR
Is there a way out to do RDMA_WRITE at different offsets of the
memory(registered)  using associated (only) one key?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080514/0fc5e188/attachment.html>


More information about the ofw mailing list