diff mbox

[2/3] openib: add new TIMEWAIT state for CM

Message ID 1418667099-32449-3-git-send-email-arlin.r.davis@intel.com (mailing list archive)
State Rejected
Headers show

Commit Message

Arlin Davis Dec. 15, 2014, 6:11 p.m. UTC
From: Arlin Davis <arlin.r.davis@intel.com>

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
---
 dapl/openib_common/dapl_ib_common.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/dapl/openib_common/dapl_ib_common.h b/dapl/openib_common/dapl_ib_common.h
index 3b565b4..42391b2 100644
--- a/dapl/openib_common/dapl_ib_common.h
+++ b/dapl/openib_common/dapl_ib_common.h
@@ -340,6 +340,7 @@  typedef enum dapl_cm_state
 	DCM_RTU_PENDING,
 	DCM_DISC_RECV,
 	DCM_FREE,
+	DCM_TIMEWAIT
 
 } DAPL_CM_STATE;
 
@@ -433,9 +434,10 @@  STATIC _INLINE_ char * dapl_cm_state_str(IN int st)
 		"CM_DESTROY",
 		"CM_RTU_PENDING",
 		"CM_DISC_RECV",
-		"CM_FREE"
+		"CM_FREE",
+		"CM_TIMEWAIT"
         };
-        return ((st < 0 || st > 16) ? "Invalid CM state?" : state[st]);
+        return ((st < 0 || st > 17) ? "Invalid CM state?" : state[st]);
 }
 
 STATIC _INLINE_ char * dapl_cm_op_str(IN int op)