Lines Matching refs:drep_msg
2714 static void cm_format_drep(struct cm_drep_msg *drep_msg, in cm_format_drep() argument
2719 cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, cm_id_priv->tid); in cm_format_drep()
2720 IBA_SET(CM_DREP_LOCAL_COMM_ID, drep_msg, in cm_format_drep()
2722 IBA_SET(CM_DREP_REMOTE_COMM_ID, drep_msg, in cm_format_drep()
2726 IBA_SET_MEM(CM_DREP_PRIVATE_DATA, drep_msg, private_data, in cm_format_drep()
2791 struct cm_drep_msg *drep_msg; in cm_issue_drep() local
2799 drep_msg = (struct cm_drep_msg *) msg->mad; in cm_issue_drep()
2801 cm_format_mad_hdr(&drep_msg->hdr, CM_DREP_ATTR_ID, dreq_msg->hdr.tid); in cm_issue_drep()
2802 IBA_SET(CM_DREP_REMOTE_COMM_ID, drep_msg, in cm_issue_drep()
2804 IBA_SET(CM_DREP_LOCAL_COMM_ID, drep_msg, in cm_issue_drep()
2893 struct cm_drep_msg *drep_msg; in cm_drep_handler() local
2895 drep_msg = (struct cm_drep_msg *)work->mad_recv_wc->recv_buf.mad; in cm_drep_handler()
2897 cpu_to_be32(IBA_GET(CM_DREP_REMOTE_COMM_ID, drep_msg)), in cm_drep_handler()
2898 cpu_to_be32(IBA_GET(CM_DREP_LOCAL_COMM_ID, drep_msg))); in cm_drep_handler()
2903 IBA_GET_MEM_PTR(CM_DREP_PRIVATE_DATA, drep_msg); in cm_drep_handler()