Lines Matching refs:primary_path

1280 	struct sa_path_rec *pri_path = param->primary_path;  in cm_format_req()
1303 req_msg->pkey = param->primary_path->pkey; in cm_format_req()
1304 cm_req_set_path_mtu(req_msg, param->primary_path->mtu); in cm_format_req()
1389 if (!param->primary_path) in cm_validate_req_param()
1401 (param->alternate_path->pkey != param->primary_path->pkey || in cm_validate_req_param()
1402 param->alternate_path->mtu != param->primary_path->mtu)) in cm_validate_req_param()
1437 ret = cm_init_av_by_path(param->primary_path, in ib_send_cm_req()
1451 param->primary_path->packet_life_time) * 2 + in ib_send_cm_req()
1458 cm_id_priv->path_mtu = param->primary_path->mtu; in ib_send_cm_req()
1459 cm_id_priv->pkey = param->primary_path->pkey; in ib_send_cm_req()
1552 struct sa_path_rec *primary_path, in cm_format_path_lid_from_req() argument
1557 if (primary_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
1558 sa_path_set_dlid(primary_path, in cm_format_path_lid_from_req()
1560 sa_path_set_slid(primary_path, in cm_format_path_lid_from_req()
1564 sa_path_set_dlid(primary_path, lid); in cm_format_path_lid_from_req()
1567 sa_path_set_slid(primary_path, lid); in cm_format_path_lid_from_req()
1586 struct sa_path_rec *primary_path, in cm_format_paths_from_req() argument
1589 primary_path->dgid = req_msg->primary_local_gid; in cm_format_paths_from_req()
1590 primary_path->sgid = req_msg->primary_remote_gid; in cm_format_paths_from_req()
1591 primary_path->flow_label = cm_req_get_primary_flow_label(req_msg); in cm_format_paths_from_req()
1592 primary_path->hop_limit = req_msg->primary_hop_limit; in cm_format_paths_from_req()
1593 primary_path->traffic_class = req_msg->primary_traffic_class; in cm_format_paths_from_req()
1594 primary_path->reversible = 1; in cm_format_paths_from_req()
1595 primary_path->pkey = req_msg->pkey; in cm_format_paths_from_req()
1596 primary_path->sl = cm_req_get_primary_sl(req_msg); in cm_format_paths_from_req()
1597 primary_path->mtu_selector = IB_SA_EQ; in cm_format_paths_from_req()
1598 primary_path->mtu = cm_req_get_path_mtu(req_msg); in cm_format_paths_from_req()
1599 primary_path->rate_selector = IB_SA_EQ; in cm_format_paths_from_req()
1600 primary_path->rate = cm_req_get_primary_packet_rate(req_msg); in cm_format_paths_from_req()
1601 primary_path->packet_life_time_selector = IB_SA_EQ; in cm_format_paths_from_req()
1602 primary_path->packet_life_time = in cm_format_paths_from_req()
1604 primary_path->packet_life_time -= (primary_path->packet_life_time > 0); in cm_format_paths_from_req()
1605 primary_path->service_id = req_msg->service_id; in cm_format_paths_from_req()
1606 if (sa_path_is_roce(primary_path)) in cm_format_paths_from_req()
1607 primary_path->roce.route_resolved = false; in cm_format_paths_from_req()
1631 cm_format_path_lid_from_req(req_msg, primary_path, alt_path); in cm_format_paths_from_req()
1693 param->primary_path = &work->path[0]; in cm_format_req_event()
1694 cm_opa_to_ib_sgid(work, param->primary_path); in cm_format_req_event()