[openib-general] [RFC] [PATCH v2] rdma/ib_cm: fix APM support

Venkatesh Babu venkatesh.babu at 3leafnetworks.com
Thu Nov 9 17:18:19 PST 2006


Sean Hefty wrote:

>The QP state will automatically change to migrated on both sides of the
>connection after a failure occurs.  There's a delay before you'll see the
>IB_EVENT_PATH_MIGRATED event on the QP though, so a manual transition of the QP
>state may be faster, but isn't necessary.
>
>  
>
Atleast in OFED 1.0 QP state was not automatically changeing to 
migrated. I have to manually call ib_modify_qp() to do this.

>For my testing, I waited for both sides to process the IB_EVENT_PATH_MIGRATED
>event before having the original active side call ib_send_cm_lap().
>  
>
That path might not have come back up when you load the alternate path. 
I presume it is possible to load the alternate path even though it is 
down. If the failover hapens before the alternate path comes up, 
failover fails. It is no different than if it is not loaded. So both 
your case and my case works the same.

VBabu

>- Sean
>  
>




More information about the general mailing list