Hi Roland,<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;">
    Abhinav> However, VAPI has an event which specifies the successful<br>    Abhinav> transition of MIGRATED -> ARMED (I know very well, that<br>    Abhinav> it is done through modify_qp). But just the success of
<br>    Abhinav> modify_qp does not explicitly tell the time at which the<br>    Abhinav> transition successfully occured, does it?<br><br>You don't know the time that the transition occurred, except that it<br>
is between when you called modify QP and when it returned.  But an<br>asynchronous event doesn't really help, does it?  </blockquote><div><br>It does help. APM is not only defined for network fault tolerance, it can<br>
also be used for load-balancing. With this event, one can know when<br>the path is loaded and it is safe to call modify_qp.<br><br>Also, do you have any script which can potentially bring a port down <br>from Active state, without actually unplugging the cable? Please let
<br>me know.<br><br>Thanks,<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;">All an event would<br>tell you is that the transition occurred some time before the event was
<br>generated, which is some time before when the event was delivered to you.<br><br>    Abhinav> Specifically:<br><br>    Abhinav> VAPI_PATH_MIG_ARMED would make my day. I believe that<br>    Abhinav> VAPI_QP_PATH_MIGRATED is similar to
<br>    Abhinav> IB_EVENT_PATH_MIG. Please correct me if i am wrong.<br><br>I see... VAPI_PATH_MIG_ARMED is a new event that was added only in<br>VAPI 4.1.0, which was why I didn't know about it.  Only Mellanox HCAs
<br>support it, it is not specified by the InfiniBand architecture, and I<br>don't really see the point of it (as I tried to explain above).<br><br> - R.<br></blockquote></div><br><br clear="all"><br>-- <br>Abhinav Vishnu
<br>Graduate Student<br>Computer Science and Engineering<br>The Ohio State University