<div>I am using socket based communication for exchanging intial information such as lid,qpn,psn, in fact, more or less the same code that is there in the examples. Is there any CM based example that I can look at?</div>
<div> </div>
<div>Regards,</div>
<div>John<br><br> </div>
<div><span class="gmail_quote">On 8/31/06, <b class="gmail_sendername">Dotan Barak</b> <<a href="mailto:dotanb@dev.mellanox.co.il">dotanb@dev.mellanox.co.il</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi.<br><br>john t wrote:<br>> Hi Dotan<br>><br>> Is there a way to know if the two QPs (local and remote) are in sync
<br>> or to wait for them to get in sync and then do the data transfer.<br>><br>> I think in my case it is more like one QP is sending the message but<br>> the other end (receiver) is not in RTR state at that time (since
<br>> sender and receiver are implemented as threads, may be receiver thread<br>> on the other machine is getting scheduled very late).<br>><br>> Is there a way where I can specifiy infinite retry_count/timeout or
<br>> find out if remote QP is in RTR state (or error state) and only then<br>> do the actual data tranfer.<br>><br>Sorry, but the answer is no: there isn't any way for a local QP to know<br>the state of the remote QP .
<br>This is exactly the role of the CM: to sync between the two QPs and to<br>move the various attributes between the two sides.<br><br>how do you connect the two QPs?<br>(are you using the CM or a socket based communication?)
<br><br>Dotan<br><br>_______________________________________________<br>openib-general mailing list<br><a href="mailto:openib-general@openib.org">openib-general@openib.org</a><br><a href="http://openib.org/mailman/listinfo/openib-general">
http://openib.org/mailman/listinfo/openib-general</a><br><br>To unsubscribe, please visit <a href="http://openib.org/mailman/listinfo/openib-general">http://openib.org/mailman/listinfo/openib-general</a><br><br></blockquote>
</div><br>