• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/ofed/drivers/infiniband/core/

Lines Matching refs:primary_path

1158 	struct ib_sa_path_rec *pri_path = param->primary_path;
1176 req_msg->pkey = param->primary_path->pkey;
1177 cm_req_set_path_mtu(req_msg, param->primary_path->mtu);
1240 if (!param->primary_path)
1252 (param->alternate_path->pkey != param->primary_path->pkey ||
1253 param->alternate_path->mtu != param->primary_path->mtu))
1288 ret = cm_init_av_by_path(param->primary_path, &cm_id_priv->av,
1301 param->primary_path->packet_life_time) * 2 +
1308 cm_id_priv->path_mtu = param->primary_path->mtu;
1309 cm_id_priv->pkey = param->primary_path->pkey;
1379 struct ib_sa_path_rec *primary_path,
1382 memset(primary_path, 0, sizeof *primary_path);
1383 primary_path->dgid = req_msg->primary_local_gid;
1384 primary_path->sgid = req_msg->primary_remote_gid;
1385 primary_path->dlid = req_msg->primary_local_lid;
1386 primary_path->slid = req_msg->primary_remote_lid;
1387 primary_path->flow_label = cm_req_get_primary_flow_label(req_msg);
1388 primary_path->hop_limit = req_msg->primary_hop_limit;
1389 primary_path->traffic_class = req_msg->primary_traffic_class;
1390 primary_path->reversible = 1;
1391 primary_path->pkey = req_msg->pkey;
1392 primary_path->sl = cm_req_get_primary_sl(req_msg);
1393 primary_path->mtu_selector = IB_SA_EQ;
1394 primary_path->mtu = cm_req_get_path_mtu(req_msg);
1395 primary_path->rate_selector = IB_SA_EQ;
1396 primary_path->rate = cm_req_get_primary_packet_rate(req_msg);
1397 primary_path->packet_life_time_selector = IB_SA_EQ;
1398 primary_path->packet_life_time =
1400 primary_path->packet_life_time -= (primary_path->packet_life_time > 0);
1401 primary_path->service_id = req_msg->service_id;
1457 param->primary_path = &work->path[0];