Lines Matching defs:primary_path

1344 	struct sa_path_rec *pri_path = param->primary_path;
1371 be16_to_cpu(param->primary_path->pkey));
1373 param->primary_path->mtu);
1493 if (!param->primary_path)
1505 (param->alternate_path->pkey != param->primary_path->pkey ||
1506 param->alternate_path->mtu != param->primary_path->mtu))
1543 ret = cm_init_av_by_path(param->primary_path,
1557 param->primary_path->packet_life_time) * 2 +
1564 cm_id_priv->path_mtu = param->primary_path->mtu;
1565 cm_id_priv->pkey = param->primary_path->pkey;
1666 struct sa_path_rec *primary_path,
1672 if (primary_path->rec_type != SA_PATH_REC_TYPE_OPA) {
1673 sa_path_set_dlid(primary_path, wc->slid);
1674 sa_path_set_slid(primary_path,
1680 sa_path_set_dlid(primary_path, lid);
1684 sa_path_set_slid(primary_path, lid);
1709 struct sa_path_rec *primary_path,
1713 primary_path->dgid =
1715 primary_path->sgid =
1717 primary_path->flow_label =
1719 primary_path->hop_limit = IBA_GET(CM_REQ_PRIMARY_HOP_LIMIT, req_msg);
1720 primary_path->traffic_class =
1722 primary_path->reversible = 1;
1723 primary_path->pkey =
1725 primary_path->sl = IBA_GET(CM_REQ_PRIMARY_SL, req_msg);
1726 primary_path->mtu_selector = IB_SA_EQ;
1727 primary_path->mtu = IBA_GET(CM_REQ_PATH_PACKET_PAYLOAD_MTU, req_msg);
1728 primary_path->rate_selector = IB_SA_EQ;
1729 primary_path->rate = IBA_GET(CM_REQ_PRIMARY_PACKET_RATE, req_msg);
1730 primary_path->packet_life_time_selector = IB_SA_EQ;
1731 primary_path->packet_life_time =
1733 primary_path->packet_life_time -= (primary_path->packet_life_time > 0);
1734 primary_path->service_id =
1736 if (sa_path_is_roce(primary_path))
1737 primary_path->roce.route_resolved = false;
1769 cm_format_path_lid_from_req(req_msg, primary_path, alt_path, wc);
1831 param->primary_path = &work->path[0];
1832 cm_opa_to_ib_sgid(work, param->primary_path);