[openib-general] APM: QP migration state change when failover triggered by hw
Venkatesh Babu
venkatesh.babu at 3leafnetworks.com
Wed Jul 12 13:20:17 PDT 2006
According to IB Spec either Verbs consumer or CI can initiate the path
migration, but it doesn't describe the poliy who should initiate the
path migration and doesn't cleary define who should change the state in
each case.
If the hca (mthca0 - MT25208) supports automatic path migration when
the port error (for example pulling the cable) occurrs, who is
responsible for changeing the QP state from "Armed" to "Migrated" ? Is
it the CI or the verbs consumer ?
With the same MT25208 HCA, using the Gen1 code this APM functionality
works fine. When cable is removed from the port corresponding to primary
path, CI migrates to the alternate path; changes the QP state from
"Armed" to "Migrated" and sends an event IB_QP_PATH_MIGRATED to verbs
consumer.
With OFED 1.0, when cable is removed from the port corresponding to the
primary path, CI sends an event IB_EVENT_PATH_MIG, but is not changeing
the state to "Migrated" and not migrating to the alternate path. So the
traffic doesn't resume on the alternate path.
With OFED 1.0, verbs consumer initiates the failover by explicitly
changing the state from "Armed" to "Migrated", it correctly migrates to
the alternate path and traffic resumes on that.
VBabu
More information about the general
mailing list