Lines Matching refs:primary_path
1012 struct ib_sa_path_rec *pri_path = param->primary_path; in cm_format_req()
1030 req_msg->pkey = param->primary_path->pkey; in cm_format_req()
1031 cm_req_set_path_mtu(req_msg, param->primary_path->mtu); in cm_format_req()
1094 if (!param->primary_path) in cm_validate_req_param()
1106 (param->alternate_path->pkey != param->primary_path->pkey || in cm_validate_req_param()
1107 param->alternate_path->mtu != param->primary_path->mtu)) in cm_validate_req_param()
1142 ret = cm_init_av_by_path(param->primary_path, &cm_id_priv->av); in ib_send_cm_req()
1154 param->primary_path->packet_life_time) * 2 + in ib_send_cm_req()
1161 cm_id_priv->path_mtu = param->primary_path->mtu; in ib_send_cm_req()
1162 cm_id_priv->pkey = param->primary_path->pkey; in ib_send_cm_req()
1240 struct ib_sa_path_rec *primary_path, in cm_format_paths_from_req() argument
1243 memset(primary_path, 0, sizeof *primary_path); in cm_format_paths_from_req()
1244 primary_path->dgid = req_msg->primary_local_gid; in cm_format_paths_from_req()
1245 primary_path->sgid = req_msg->primary_remote_gid; in cm_format_paths_from_req()
1246 primary_path->dlid = req_msg->primary_local_lid; in cm_format_paths_from_req()
1247 primary_path->slid = req_msg->primary_remote_lid; in cm_format_paths_from_req()
1248 primary_path->flow_label = cm_req_get_primary_flow_label(req_msg); in cm_format_paths_from_req()
1249 primary_path->hop_limit = req_msg->primary_hop_limit; in cm_format_paths_from_req()
1250 primary_path->traffic_class = req_msg->primary_traffic_class; in cm_format_paths_from_req()
1251 primary_path->reversible = 1; in cm_format_paths_from_req()
1252 primary_path->pkey = req_msg->pkey; in cm_format_paths_from_req()
1253 primary_path->sl = cm_req_get_primary_sl(req_msg); in cm_format_paths_from_req()
1254 primary_path->mtu_selector = IB_SA_EQ; in cm_format_paths_from_req()
1255 primary_path->mtu = cm_req_get_path_mtu(req_msg); in cm_format_paths_from_req()
1256 primary_path->rate_selector = IB_SA_EQ; in cm_format_paths_from_req()
1257 primary_path->rate = cm_req_get_primary_packet_rate(req_msg); in cm_format_paths_from_req()
1258 primary_path->packet_life_time_selector = IB_SA_EQ; in cm_format_paths_from_req()
1259 primary_path->packet_life_time = in cm_format_paths_from_req()
1261 primary_path->packet_life_time -= (primary_path->packet_life_time > 0); in cm_format_paths_from_req()
1297 param->primary_path = &work->path[0]; in cm_format_req_event()