[openib-general] [PATCH] CM ACK timeout fix
Sean Hefty
mshefty at ichips.intel.com
Thu Sep 8 12:58:03 PDT 2005
Roland Dreier wrote:
> --- infiniband/core/cm.c (revision 3327)
> +++ infiniband/core/cm.c (working copy)
> @@ -814,7 +814,7 @@ static void cm_format_req(struct cm_req_
> cm_req_set_primary_sl(req_msg, param->primary_path->sl);
> cm_req_set_primary_subnet_local(req_msg, 1); /* local only... */
> cm_req_set_primary_local_ack_timeout(req_msg,
> - min(31, param->primary_path->packet_life_time + 1));
> + max(31, param->primary_path->packet_life_time + 1));
Wouldn't using max increase the timeout (to 31)?
- Sean
More information about the general
mailing list