Lines Matching refs:lap_msg
3253 static void cm_format_path_lid_from_lap(struct cm_lap_msg *lap_msg, in cm_format_path_lid_from_lap() argument
3260 lap_msg)); in cm_format_path_lid_from_lap()
3262 lap_msg)); in cm_format_path_lid_from_lap()
3265 CM_LAP_ALTERNATE_LOCAL_PORT_GID, lap_msg)); in cm_format_path_lid_from_lap()
3269 CM_LAP_ALTERNATE_REMOTE_PORT_GID, lap_msg)); in cm_format_path_lid_from_lap()
3276 struct cm_lap_msg *lap_msg) in cm_format_path_from_lap() argument
3278 path->dgid = *IBA_GET_MEM_PTR(CM_LAP_ALTERNATE_LOCAL_PORT_GID, lap_msg); in cm_format_path_from_lap()
3280 *IBA_GET_MEM_PTR(CM_LAP_ALTERNATE_REMOTE_PORT_GID, lap_msg); in cm_format_path_from_lap()
3282 cpu_to_be32(IBA_GET(CM_LAP_ALTERNATE_FLOW_LABEL, lap_msg)); in cm_format_path_from_lap()
3283 path->hop_limit = IBA_GET(CM_LAP_ALTERNATE_HOP_LIMIT, lap_msg); in cm_format_path_from_lap()
3284 path->traffic_class = IBA_GET(CM_LAP_ALTERNATE_TRAFFIC_CLASS, lap_msg); in cm_format_path_from_lap()
3287 path->sl = IBA_GET(CM_LAP_ALTERNATE_SL, lap_msg); in cm_format_path_from_lap()
3291 path->rate = IBA_GET(CM_LAP_ALTERNATE_PACKET_RATE, lap_msg); in cm_format_path_from_lap()
3294 IBA_GET(CM_LAP_ALTERNATE_LOCAL_ACK_TIMEOUT, lap_msg); in cm_format_path_from_lap()
3296 cm_format_path_lid_from_lap(lap_msg, path); in cm_format_path_from_lap()
3302 struct cm_lap_msg *lap_msg; in cm_lap_handler() local
3317 lap_msg = (struct cm_lap_msg *)work->mad_recv_wc->recv_buf.mad; in cm_lap_handler()
3319 cpu_to_be32(IBA_GET(CM_LAP_REMOTE_COMM_ID, lap_msg)), in cm_lap_handler()
3320 cpu_to_be32(IBA_GET(CM_LAP_LOCAL_COMM_ID, lap_msg))); in cm_lap_handler()
3329 lap_msg)); in cm_lap_handler()
3331 cm_format_path_from_lap(cm_id_priv, param->alternate_path, lap_msg); in cm_lap_handler()
3333 IBA_GET_MEM_PTR(CM_LAP_PRIVATE_DATA, lap_msg); in cm_lap_handler()
3388 cm_id_priv->tid = lap_msg->hdr.tid; in cm_lap_handler()