Lines Matching refs:primary_path

1283 	struct sa_path_rec *pri_path = param->primary_path;  in cm_format_req()
1306 req_msg->pkey = param->primary_path->pkey; in cm_format_req()
1307 cm_req_set_path_mtu(req_msg, param->primary_path->mtu); in cm_format_req()
1392 if (!param->primary_path) in cm_validate_req_param()
1404 (param->alternate_path->pkey != param->primary_path->pkey || in cm_validate_req_param()
1405 param->alternate_path->mtu != param->primary_path->mtu)) in cm_validate_req_param()
1440 ret = cm_init_av_by_path(param->primary_path, in ib_send_cm_req()
1454 param->primary_path->packet_life_time) * 2 + in ib_send_cm_req()
1461 cm_id_priv->path_mtu = param->primary_path->mtu; in ib_send_cm_req()
1462 cm_id_priv->pkey = param->primary_path->pkey; in ib_send_cm_req()
1555 struct sa_path_rec *primary_path, in cm_format_path_lid_from_req() argument
1560 if (primary_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
1561 sa_path_set_dlid(primary_path, in cm_format_path_lid_from_req()
1563 sa_path_set_slid(primary_path, in cm_format_path_lid_from_req()
1567 sa_path_set_dlid(primary_path, lid); in cm_format_path_lid_from_req()
1570 sa_path_set_slid(primary_path, lid); in cm_format_path_lid_from_req()
1589 struct sa_path_rec *primary_path, in cm_format_paths_from_req() argument
1592 primary_path->dgid = req_msg->primary_local_gid; in cm_format_paths_from_req()
1593 primary_path->sgid = req_msg->primary_remote_gid; in cm_format_paths_from_req()
1594 primary_path->flow_label = cm_req_get_primary_flow_label(req_msg); in cm_format_paths_from_req()
1595 primary_path->hop_limit = req_msg->primary_hop_limit; in cm_format_paths_from_req()
1596 primary_path->traffic_class = req_msg->primary_traffic_class; in cm_format_paths_from_req()
1597 primary_path->reversible = 1; in cm_format_paths_from_req()
1598 primary_path->pkey = req_msg->pkey; in cm_format_paths_from_req()
1599 primary_path->sl = cm_req_get_primary_sl(req_msg); in cm_format_paths_from_req()
1600 primary_path->mtu_selector = IB_SA_EQ; in cm_format_paths_from_req()
1601 primary_path->mtu = cm_req_get_path_mtu(req_msg); in cm_format_paths_from_req()
1602 primary_path->rate_selector = IB_SA_EQ; in cm_format_paths_from_req()
1603 primary_path->rate = cm_req_get_primary_packet_rate(req_msg); in cm_format_paths_from_req()
1604 primary_path->packet_life_time_selector = IB_SA_EQ; in cm_format_paths_from_req()
1605 primary_path->packet_life_time = in cm_format_paths_from_req()
1607 primary_path->packet_life_time -= (primary_path->packet_life_time > 0); in cm_format_paths_from_req()
1608 primary_path->service_id = req_msg->service_id; in cm_format_paths_from_req()
1609 if (sa_path_is_roce(primary_path)) in cm_format_paths_from_req()
1610 primary_path->roce.route_resolved = false; in cm_format_paths_from_req()
1634 cm_format_path_lid_from_req(req_msg, primary_path, alt_path); in cm_format_paths_from_req()
1696 param->primary_path = &work->path[0]; in cm_format_req_event()
1697 cm_opa_to_ib_sgid(work, param->primary_path); in cm_format_req_event()