Lines Matching refs:qp_attr

4080 				struct ib_qp_attr *qp_attr,  in cm_init_qp_init_attr()  argument
4099 qp_attr->qp_access_flags = IB_ACCESS_REMOTE_WRITE; in cm_init_qp_init_attr()
4101 qp_attr->qp_access_flags |= IB_ACCESS_REMOTE_READ | in cm_init_qp_init_attr()
4103 qp_attr->pkey_index = cm_id_priv->av.pkey_index; in cm_init_qp_init_attr()
4105 qp_attr->port_num = cm_id_priv->av.port->port_num; in cm_init_qp_init_attr()
4118 struct ib_qp_attr *qp_attr, in cm_init_qp_rtr_attr() argument
4135 qp_attr->ah_attr = cm_id_priv->av.ah_attr; in cm_init_qp_rtr_attr()
4136 qp_attr->path_mtu = cm_id_priv->path_mtu; in cm_init_qp_rtr_attr()
4137 qp_attr->dest_qp_num = be32_to_cpu(cm_id_priv->remote_qpn); in cm_init_qp_rtr_attr()
4138 qp_attr->rq_psn = be32_to_cpu(cm_id_priv->rq_psn); in cm_init_qp_rtr_attr()
4143 qp_attr->max_dest_rd_atomic = in cm_init_qp_rtr_attr()
4145 qp_attr->min_rnr_timer = 0; in cm_init_qp_rtr_attr()
4150 qp_attr->alt_port_num = cm_id_priv->alt_av.port->port_num; in cm_init_qp_rtr_attr()
4151 qp_attr->alt_pkey_index = cm_id_priv->alt_av.pkey_index; in cm_init_qp_rtr_attr()
4152 qp_attr->alt_timeout = cm_id_priv->alt_av.timeout; in cm_init_qp_rtr_attr()
4153 qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; in cm_init_qp_rtr_attr()
4167 struct ib_qp_attr *qp_attr, in cm_init_qp_rts_attr() argument
4186 qp_attr->sq_psn = be32_to_cpu(cm_id_priv->sq_psn); in cm_init_qp_rts_attr()
4192 qp_attr->retry_cnt = cm_id_priv->retry_count; in cm_init_qp_rts_attr()
4193 qp_attr->rnr_retry = cm_id_priv->rnr_retry_count; in cm_init_qp_rts_attr()
4194 qp_attr->max_rd_atomic = cm_id_priv->initiator_depth; in cm_init_qp_rts_attr()
4198 qp_attr->timeout = cm_id_priv->av.timeout; in cm_init_qp_rts_attr()
4205 qp_attr->path_mig_state = IB_MIG_REARM; in cm_init_qp_rts_attr()
4210 qp_attr->alt_port_num = in cm_init_qp_rts_attr()
4212 qp_attr->alt_pkey_index = cm_id_priv->alt_av.pkey_index; in cm_init_qp_rts_attr()
4213 qp_attr->alt_timeout = cm_id_priv->alt_av.timeout; in cm_init_qp_rts_attr()
4214 qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; in cm_init_qp_rts_attr()
4215 qp_attr->path_mig_state = IB_MIG_REARM; in cm_init_qp_rts_attr()
4229 struct ib_qp_attr *qp_attr, in ib_cm_init_qp_attr() argument
4236 switch (qp_attr->qp_state) { in ib_cm_init_qp_attr()
4238 ret = cm_init_qp_init_attr(cm_id_priv, qp_attr, qp_attr_mask); in ib_cm_init_qp_attr()
4241 ret = cm_init_qp_rtr_attr(cm_id_priv, qp_attr, qp_attr_mask); in ib_cm_init_qp_attr()
4244 ret = cm_init_qp_rts_attr(cm_id_priv, qp_attr, qp_attr_mask); in ib_cm_init_qp_attr()