Lines Matching refs:drep_msg
2736 static void cm_format_drep(struct cm_drep_msg *drep_msg, in cm_format_drep() argument
2741 cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, cm_id_priv->tid); in cm_format_drep()
2742 IBA_SET(CM_DREP_LOCAL_COMM_ID, drep_msg, in cm_format_drep()
2744 IBA_SET(CM_DREP_REMOTE_COMM_ID, drep_msg, in cm_format_drep()
2748 IBA_SET_MEM(CM_DREP_PRIVATE_DATA, drep_msg, private_data, in cm_format_drep()
2813 struct cm_drep_msg *drep_msg; in cm_issue_drep() local
2821 drep_msg = (struct cm_drep_msg *) msg->mad; in cm_issue_drep()
2823 cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, dreq_msg->hdr.tid); in cm_issue_drep()
2824 IBA_SET(CM_DREP_REMOTE_COMM_ID, drep_msg, in cm_issue_drep()
2826 IBA_SET(CM_DREP_LOCAL_COMM_ID, drep_msg, in cm_issue_drep()
2916 struct cm_drep_msg *drep_msg; in cm_drep_handler() local
2918 drep_msg = (struct cm_drep_msg *)work->mad_recv_wc->recv_buf.mad; in cm_drep_handler()
2920 cpu_to_be32(IBA_GET(CM_DREP_REMOTE_COMM_ID, drep_msg)), in cm_drep_handler()
2921 cpu_to_be32(IBA_GET(CM_DREP_LOCAL_COMM_ID, drep_msg))); in cm_drep_handler()
2926 IBA_GET_MEM_PTR(CM_DREP_PRIVATE_DATA, drep_msg); in cm_drep_handler()