[ofw] [PATCH 3/4] DAPL v2.0: ucm: decrease timeout retry count for disconnect requests

Davis, Arlin R arlin.r.davis at intel.com
Fri Dec 3 15:33:17 PST 2010


Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
 dapl/openib_ucm/cm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c
index fd3106a..36291fd 100644
--- a/dapl/openib_ucm/cm.c
+++ b/dapl/openib_ucm/cm.c
@@ -341,6 +341,7 @@ static void ucm_process_recv(ib_hca_transport_t *tp,
 		break;
 	case DCM_CONNECTED: /* active and passive */
 		/* DREQ, change state and process */
+		cm->retries = 2; 
 		if (ntohs(msg->op) == DCM_DREQ) {
 			cm->state = DCM_DISC_RECV;
 			dapl_os_unlock(&cm->lock);
-- 
1.7.3






More information about the ofw mailing list