>but this function
>
>cm_init_qp_rts_attr(struct cm_id_private *cm_id_priv,
>                   struct ib_qp_attr *qp_attr,
>                   int *qp_attr_mask)
>
>does perform the state transition using
>if (cm_id_priv->alt_av.ah_attr.dlid) {
>            *qp_attr_mask |= IB_QP_PATH_MIG_STATE;
>            qp_attr->path_mig_state = IB_MIG_REARM;
>        }
>
>which works for me the first time I load path (using send REQ) and
>change state to RTS.

This routine only sets the qp attributes needed for the transition.  The user
must still call ib_modify_qp().  This was the compromise for not having the cm
modify the qp state; it tried to make it easy on the user.

- Sean

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to