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

Sean Hefty sean.hefty at intel.com
Thu Nov 9 13:48:10 PST 2006


>Yes, only Active side will have the path records. But port may fail on
>the Passive side too.
>When a port is failed on the Passive node, active node also need to
>change the QP state to migrated.

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.

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().

- Sean




More information about the general mailing list