|
@@ -1268,6 +1268,7 @@ static void cm_format_paths_from_req(struct cm_req_msg *req_msg,
|
|
primary_path->packet_life_time =
|
|
primary_path->packet_life_time =
|
|
cm_req_get_primary_local_ack_timeout(req_msg);
|
|
cm_req_get_primary_local_ack_timeout(req_msg);
|
|
primary_path->packet_life_time -= (primary_path->packet_life_time > 0);
|
|
primary_path->packet_life_time -= (primary_path->packet_life_time > 0);
|
|
|
|
+ primary_path->service_id = req_msg->service_id;
|
|
|
|
|
|
if (req_msg->alt_local_lid) {
|
|
if (req_msg->alt_local_lid) {
|
|
memset(alt_path, 0, sizeof *alt_path);
|
|
memset(alt_path, 0, sizeof *alt_path);
|
|
@@ -1289,6 +1290,7 @@ static void cm_format_paths_from_req(struct cm_req_msg *req_msg,
|
|
alt_path->packet_life_time =
|
|
alt_path->packet_life_time =
|
|
cm_req_get_alt_local_ack_timeout(req_msg);
|
|
cm_req_get_alt_local_ack_timeout(req_msg);
|
|
alt_path->packet_life_time -= (alt_path->packet_life_time > 0);
|
|
alt_path->packet_life_time -= (alt_path->packet_life_time > 0);
|
|
|
|
+ alt_path->service_id = req_msg->service_id;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -2992,6 +2994,7 @@ static void cm_format_sidr_req_event(struct cm_work *work,
|
|
param = &work->cm_event.param.sidr_req_rcvd;
|
|
param = &work->cm_event.param.sidr_req_rcvd;
|
|
param->pkey = __be16_to_cpu(sidr_req_msg->pkey);
|
|
param->pkey = __be16_to_cpu(sidr_req_msg->pkey);
|
|
param->listen_id = listen_id;
|
|
param->listen_id = listen_id;
|
|
|
|
+ param->service_id = sidr_req_msg->service_id;
|
|
param->port = work->port->port_num;
|
|
param->port = work->port->port_num;
|
|
work->cm_event.private_data = &sidr_req_msg->private_data;
|
|
work->cm_event.private_data = &sidr_req_msg->private_data;
|
|
}
|
|
}
|