Message ID | 1419291141.21271.17.camel@auk59.llnl.gov (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Hal Rosenstock |
Headers | show |
On 12/22/2014 6:32 PM, Albert Chu wrote:
> Signed-off-by: Albert L. Chu <chu11@llnl.gov>
Thanks. Applied.
-- Hal
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/opensm/osm_congestion_control.c b/opensm/osm_congestion_control.c index 54574b7..bfcd8a5 100644 --- a/opensm/osm_congestion_control.c +++ b/opensm/osm_congestion_control.c @@ -705,8 +705,10 @@ static void cc_mad_send_err_callback(void *bind_context, if (p_madw->status == IB_TIMEOUT) { p_port->cc_timeout_count++; if (p_port->cc_timeout_count > OSM_CC_TIMEOUT_COUNT_THRESHOLD - && !p_port->cc_unavailable_flag) + && !p_port->cc_unavailable_flag) { p_port->cc_unavailable_flag = TRUE; + p_port->cc_timeout_count = 0; + } } else p_cc->subn->subnet_initialization_error = TRUE;
Signed-off-by: Albert L. Chu <chu11@llnl.gov> --- opensm/osm_congestion_control.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)