<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In principal this should work. What
did you set for your transfer size?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Is rdma_vaddr a uint64 or void*? (I’m
not sure that adding to a void * is standardized.)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>I am able to successfully
do a RDMA_WRITE operation with the given key and given vaddr for the first
packet<br>
<i><span style='font-style:italic'>send_wr.remote_ops.rkey = rdma_key; //
#RDMA#<br>
send_wr.remote_ops.vaddr = rdma_vaddr; // #RDMA#</span></i><br>
<br>
But I am not able to transfer the second packet by changing the rdma_vaddr<br>
<i><span style='font-style:italic'>send_wr.remote_ops.rkey = rdma_key; //
#RDMA#<br>
send_wr.remote_ops.vaddr = rdma_vaddr + pkt_num*pkt_size; // #RDMA to the next
memory location in the same registered buffer</span></i><br>
<br>
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?<br>
OR<br>
Do i have to register all buffers individually and obtain different key
associated with it?<br>
OR<br>
Is there a way out to do RDMA_WRITE at different offsets of the
memory(registered) using associated (only) one key?<br>
<br>
<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>