• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/

Lines Matching refs:alt_path

1002 	struct ib_sa_path_rec *alt_path = param->alternate_path;
1046 if (alt_path) {
1047 if (alt_path->hop_limit <= 1) {
1048 req_msg->alt_local_lid = alt_path->slid;
1049 req_msg->alt_remote_lid = alt_path->dlid;
1054 req_msg->alt_local_gid = alt_path->sgid;
1055 req_msg->alt_remote_gid = alt_path->dgid;
1057 alt_path->flow_label);
1058 cm_req_set_alt_packet_rate(req_msg, alt_path->rate);
1059 req_msg->alt_traffic_class = alt_path->traffic_class;
1060 req_msg->alt_hop_limit = alt_path->hop_limit;
1061 cm_req_set_alt_sl(req_msg, alt_path->sl);
1062 cm_req_set_alt_subnet_local(req_msg, (alt_path->hop_limit <= 1));
1065 alt_path->packet_life_time));
1225 struct ib_sa_path_rec *alt_path)
1248 memset(alt_path, 0, sizeof *alt_path);
1249 alt_path->dgid = req_msg->alt_local_gid;
1250 alt_path->sgid = req_msg->alt_remote_gid;
1251 alt_path->dlid = req_msg->alt_local_lid;
1252 alt_path->slid = req_msg->alt_remote_lid;
1253 alt_path->flow_label = cm_req_get_alt_flow_label(req_msg);
1254 alt_path->hop_limit = req_msg->alt_hop_limit;
1255 alt_path->traffic_class = req_msg->alt_traffic_class;
1256 alt_path->reversible = 1;
1257 alt_path->pkey = req_msg->pkey;
1258 alt_path->sl = cm_req_get_alt_sl(req_msg);
1259 alt_path->mtu_selector = IB_SA_EQ;
1260 alt_path->mtu = cm_req_get_path_mtu(req_msg);
1261 alt_path->rate_selector = IB_SA_EQ;
1262 alt_path->rate = cm_req_get_alt_packet_rate(req_msg);
1263 alt_path->packet_life_time_selector = IB_SA_EQ;
1264 alt_path->packet_life_time =
1266 alt_path->packet_life_time -= (alt_path->packet_life_time > 0);