Message ID | 54347E5A035A054EAE9D05927FB467F9481A8803@ORSMSX101.amr.corp.intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/dapl/openib_common/qp.c b/dapl/openib_common/qp.c index 16ce594..a8cc56e 100644 --- a/dapl/openib_common/qp.c +++ b/dapl/openib_common/qp.c @@ -287,6 +287,12 @@ dapls_ib_qp_modify(IN DAPL_IA * ia_ptr, IBV_QPS_ERR, 0, 0, 0)); } + /* consumer ep_modify, init state */ + if (ep_ptr->qp_handle->state == IBV_QPS_INIT) { + return (dapls_modify_qp_state(ep_ptr->qp_handle, + IBV_QPS_INIT, 0, 0, 0)); + } + /* * Check if we have the right qp_state to modify attributes */
Allow consumer to modify attributes via dat_ep_modify in init state. Signed-off-by: Arlin Davis <arlin.r.davis@intel.com> --- dapl/openib_common/qp.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) -- 1.7.3