Searched refs:dreq_msg (Results 1 – 2 of 2) sorted by relevance
634 static inline __be32 cm_dreq_get_remote_qpn(struct cm_dreq_msg *dreq_msg) in cm_dreq_get_remote_qpn() argument636 return cpu_to_be32(be32_to_cpu(dreq_msg->offset8) >> 8); in cm_dreq_get_remote_qpn()639 static inline void cm_dreq_set_remote_qpn(struct cm_dreq_msg *dreq_msg, __be32 qpn) in cm_dreq_set_remote_qpn() argument641 dreq_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) | in cm_dreq_set_remote_qpn()642 (be32_to_cpu(dreq_msg->offset8) & 0x000000FF)); in cm_dreq_set_remote_qpn()
2262 static void cm_format_dreq(struct cm_dreq_msg *dreq_msg, in cm_format_dreq() argument2267 cm_format_mad_hdr(&dreq_msg->hdr, CM_DREQ_ATTR_ID, in cm_format_dreq()2269 dreq_msg->local_comm_id = cm_id_priv->id.local_id; in cm_format_dreq()2270 dreq_msg->remote_comm_id = cm_id_priv->id.remote_id; in cm_format_dreq()2271 cm_dreq_set_remote_qpn(dreq_msg, cm_id_priv->remote_qpn); in cm_format_dreq()2274 memcpy(dreq_msg->private_data, private_data, private_data_len); in cm_format_dreq()2390 struct cm_dreq_msg *dreq_msg; in cm_issue_drep() local2398 dreq_msg = (struct cm_dreq_msg *) mad_recv_wc->recv_buf.mad; in cm_issue_drep()2401 cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, dreq_msg->hdr.tid); in cm_issue_drep()2402 drep_msg->remote_comm_id = dreq_msg->local_comm_id; in cm_issue_drep()[all …]