Lines Matching refs:primary_path
1065 struct ib_sa_path_rec *pri_path = param->primary_path; in cm_format_req()
1083 req_msg->pkey = param->primary_path->pkey; in cm_format_req()
1084 cm_req_set_path_mtu(req_msg, param->primary_path->mtu); in cm_format_req()
1147 if (!param->primary_path) in cm_validate_req_param()
1159 (param->alternate_path->pkey != param->primary_path->pkey || in cm_validate_req_param()
1160 param->alternate_path->mtu != param->primary_path->mtu)) in cm_validate_req_param()
1195 ret = cm_init_av_by_path(param->primary_path, &cm_id_priv->av); in ib_send_cm_req()
1207 param->primary_path->packet_life_time) * 2 + in ib_send_cm_req()
1214 cm_id_priv->path_mtu = param->primary_path->mtu; in ib_send_cm_req()
1215 cm_id_priv->pkey = param->primary_path->pkey; in ib_send_cm_req()
1293 struct ib_sa_path_rec *primary_path, in cm_format_paths_from_req() argument
1296 memset(primary_path, 0, sizeof *primary_path); in cm_format_paths_from_req()
1297 primary_path->dgid = req_msg->primary_local_gid; in cm_format_paths_from_req()
1298 primary_path->sgid = req_msg->primary_remote_gid; in cm_format_paths_from_req()
1299 primary_path->dlid = req_msg->primary_local_lid; in cm_format_paths_from_req()
1300 primary_path->slid = req_msg->primary_remote_lid; in cm_format_paths_from_req()
1301 primary_path->flow_label = cm_req_get_primary_flow_label(req_msg); in cm_format_paths_from_req()
1302 primary_path->hop_limit = req_msg->primary_hop_limit; in cm_format_paths_from_req()
1303 primary_path->traffic_class = req_msg->primary_traffic_class; in cm_format_paths_from_req()
1304 primary_path->reversible = 1; in cm_format_paths_from_req()
1305 primary_path->pkey = req_msg->pkey; in cm_format_paths_from_req()
1306 primary_path->sl = cm_req_get_primary_sl(req_msg); in cm_format_paths_from_req()
1307 primary_path->mtu_selector = IB_SA_EQ; in cm_format_paths_from_req()
1308 primary_path->mtu = cm_req_get_path_mtu(req_msg); in cm_format_paths_from_req()
1309 primary_path->rate_selector = IB_SA_EQ; in cm_format_paths_from_req()
1310 primary_path->rate = cm_req_get_primary_packet_rate(req_msg); in cm_format_paths_from_req()
1311 primary_path->packet_life_time_selector = IB_SA_EQ; in cm_format_paths_from_req()
1312 primary_path->packet_life_time = in cm_format_paths_from_req()
1314 primary_path->packet_life_time -= (primary_path->packet_life_time > 0); in cm_format_paths_from_req()
1315 primary_path->service_id = req_msg->service_id; in cm_format_paths_from_req()
1371 param->primary_path = &work->path[0]; in cm_format_req_event()