Lines Matching refs:dreq_msg
1971 static void cm_format_dreq(struct cm_dreq_msg *dreq_msg, in cm_format_dreq() argument
1976 cm_format_mad_hdr(&dreq_msg->hdr, CM_DREQ_ATTR_ID, in cm_format_dreq()
1978 dreq_msg->local_comm_id = cm_id_priv->id.local_id; in cm_format_dreq()
1979 dreq_msg->remote_comm_id = cm_id_priv->id.remote_id; in cm_format_dreq()
1980 cm_dreq_set_remote_qpn(dreq_msg, cm_id_priv->remote_qpn); in cm_format_dreq()
1983 memcpy(dreq_msg->private_data, private_data, private_data_len); in cm_format_dreq()
2099 struct cm_dreq_msg *dreq_msg; in cm_issue_drep() local
2107 dreq_msg = (struct cm_dreq_msg *) mad_recv_wc->recv_buf.mad; in cm_issue_drep()
2110 cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, dreq_msg->hdr.tid); in cm_issue_drep()
2111 drep_msg->remote_comm_id = dreq_msg->local_comm_id; in cm_issue_drep()
2112 drep_msg->local_comm_id = dreq_msg->remote_comm_id; in cm_issue_drep()
2124 struct cm_dreq_msg *dreq_msg; in cm_dreq_handler() local
2128 dreq_msg = (struct cm_dreq_msg *)work->mad_recv_wc->recv_buf.mad; in cm_dreq_handler()
2129 cm_id_priv = cm_acquire_id(dreq_msg->remote_comm_id, in cm_dreq_handler()
2130 dreq_msg->local_comm_id); in cm_dreq_handler()
2138 work->cm_event.private_data = &dreq_msg->private_data; in cm_dreq_handler()
2141 if (cm_id_priv->local_qpn != cm_dreq_get_remote_qpn(dreq_msg)) in cm_dreq_handler()
2178 cm_id_priv->tid = dreq_msg->hdr.tid; in cm_dreq_handler()