Lines Matching refs:alt_path

1013 	struct ib_sa_path_rec *alt_path = param->alternate_path;  in cm_format_req()  local
1061 if (alt_path) { in cm_format_req()
1062 if (alt_path->hop_limit <= 1) { in cm_format_req()
1063 req_msg->alt_local_lid = alt_path->slid; in cm_format_req()
1064 req_msg->alt_remote_lid = alt_path->dlid; in cm_format_req()
1069 req_msg->alt_local_gid = alt_path->sgid; in cm_format_req()
1070 req_msg->alt_remote_gid = alt_path->dgid; in cm_format_req()
1072 alt_path->flow_label); in cm_format_req()
1073 cm_req_set_alt_packet_rate(req_msg, alt_path->rate); in cm_format_req()
1074 req_msg->alt_traffic_class = alt_path->traffic_class; in cm_format_req()
1075 req_msg->alt_hop_limit = alt_path->hop_limit; in cm_format_req()
1076 cm_req_set_alt_sl(req_msg, alt_path->sl); in cm_format_req()
1077 cm_req_set_alt_subnet_local(req_msg, (alt_path->hop_limit <= 1)); in cm_format_req()
1080 alt_path->packet_life_time)); in cm_format_req()
1241 struct ib_sa_path_rec *alt_path) in cm_format_paths_from_req() argument
1264 memset(alt_path, 0, sizeof *alt_path); in cm_format_paths_from_req()
1265 alt_path->dgid = req_msg->alt_local_gid; in cm_format_paths_from_req()
1266 alt_path->sgid = req_msg->alt_remote_gid; in cm_format_paths_from_req()
1267 alt_path->dlid = req_msg->alt_local_lid; in cm_format_paths_from_req()
1268 alt_path->slid = req_msg->alt_remote_lid; in cm_format_paths_from_req()
1269 alt_path->flow_label = cm_req_get_alt_flow_label(req_msg); in cm_format_paths_from_req()
1270 alt_path->hop_limit = req_msg->alt_hop_limit; in cm_format_paths_from_req()
1271 alt_path->traffic_class = req_msg->alt_traffic_class; in cm_format_paths_from_req()
1272 alt_path->reversible = 1; in cm_format_paths_from_req()
1273 alt_path->pkey = req_msg->pkey; in cm_format_paths_from_req()
1274 alt_path->sl = cm_req_get_alt_sl(req_msg); in cm_format_paths_from_req()
1275 alt_path->mtu_selector = IB_SA_EQ; in cm_format_paths_from_req()
1276 alt_path->mtu = cm_req_get_path_mtu(req_msg); in cm_format_paths_from_req()
1277 alt_path->rate_selector = IB_SA_EQ; in cm_format_paths_from_req()
1278 alt_path->rate = cm_req_get_alt_packet_rate(req_msg); in cm_format_paths_from_req()
1279 alt_path->packet_life_time_selector = IB_SA_EQ; in cm_format_paths_from_req()
1280 alt_path->packet_life_time = in cm_format_paths_from_req()
1282 alt_path->packet_life_time -= (alt_path->packet_life_time > 0); in cm_format_paths_from_req()