Roland,<br><br>Thanks for your mail.<br><br><div><span class="gmail_quote">On 4/26/07, <b class="gmail_sendername">Roland Dreier</b> <<a href="mailto:rdreier@cisco.com">rdreier@cisco.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;">
 > Mellanox VAPI used to have support for completion events with<br> > different APM states.  However, with Openfabrics, i see that the<br> > support for MIGRATED -> ARMED event is not there (verbs.h include<br>
 > file). is there any specific reason for the same?<br><br>I don't know what you're referring to.  Of course a transition from<br>MIGRATED -> ARMED is not done through a work queue and hence doesn't<br>
generate a completion.  There is an affiliated async event defined,<br>IB_EVENT_PATH_MIG, that will be generated when a migration takes<br>place, but AFAIK the only thing that happens when arming APM is that<br>the modify QP operation succeeds.
</blockquote><div><br>This event will be generated when the alternate path has successfully<br>transitioned to the primary path. However, VAPI has an event which<br>specifies the successful transition of MIGRATED -> ARMED (I know very well,
<br>that it is done through modify_qp). But just the success of modify_qp does<br>not explicitly tell the time at which the transition successfully occured, does it?<br><br>Specifically:<br><br>VAPI_PATH_MIG_ARMED would make my day. I believe that VAPI_QP_PATH_MIGRATED
<br>is similar to IB_EVENT_PATH_MIG. Please correct me if i am wrong. <br><br>Also, do you have a simple example showing the APM functionality. <br><br>Thanks much,<br><br>:- Abhinav<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What specific VAPI thing are you thinking of?<br></blockquote></div><br><br clear="all"><br>-- <br>Abhinav Vishnu<br>Graduate Student<br>Computer Science and Engineering<br>The Ohio State University