Searched refs:dreq_msg (Results 1 – 2 of 2) sorted by relevance
638 static inline __be32 cm_dreq_get_remote_qpn(struct cm_dreq_msg *dreq_msg) in cm_dreq_get_remote_qpn() argument640 return cpu_to_be32(be32_to_cpu(dreq_msg->offset8) >> 8); in cm_dreq_get_remote_qpn()643 static inline void cm_dreq_set_remote_qpn(struct cm_dreq_msg *dreq_msg, __be32 qpn) in cm_dreq_set_remote_qpn() argument645 dreq_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) | in cm_dreq_set_remote_qpn()646 (be32_to_cpu(dreq_msg->offset8) & 0x000000FF)); in cm_dreq_set_remote_qpn()
1971 static void cm_format_dreq(struct cm_dreq_msg *dreq_msg, in cm_format_dreq() argument1976 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() local2107 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()[all …]