summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_cm.h
diff options
context:
space:
mode:
authorAmir Vadai2008-07-22 23:14:23 +0200
committerRoland Dreier2008-07-22 23:14:23 +0200
commit38ca83a588662f0af684ba2567dd910a564268ab (patch)
treeb5983ebd94a89f924e06e3bbd1c174533144682e /include/rdma/rdma_cm.h
parentRDMA/cma: Add RDMA_CM_EVENT_ADDR_CHANGE event (diff)
downloadkernel-qcow2-linux-38ca83a588662f0af684ba2567dd910a564268ab.tar.gz
kernel-qcow2-linux-38ca83a588662f0af684ba2567dd910a564268ab.tar.xz
kernel-qcow2-linux-38ca83a588662f0af684ba2567dd910a564268ab.zip
RDMA/cma: Add RDMA_CM_EVENT_TIMEWAIT_EXIT event
Consumers that want to re-use their QPs in new connections need to know when the QP has exited the timewait state. Report the timewait event through the rdma_cm. Signed-off-by: Amir Vadai <amirv@mellanox.co.il> Acked-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma/rdma_cm.h')
-rw-r--r--include/rdma/rdma_cm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rdma/rdma_cm.h b/include/rdma/rdma_cm.h
index 001d606517ff..df7faf09d66f 100644
--- a/include/rdma/rdma_cm.h
+++ b/include/rdma/rdma_cm.h
@@ -58,7 +58,8 @@ enum rdma_cm_event_type {
RDMA_CM_EVENT_DEVICE_REMOVAL,
RDMA_CM_EVENT_MULTICAST_JOIN,
RDMA_CM_EVENT_MULTICAST_ERROR,
- RDMA_CM_EVENT_ADDR_CHANGE
+ RDMA_CM_EVENT_ADDR_CHANGE,
+ RDMA_CM_EVENT_TIMEWAIT_EXIT
};
enum rdma_port_space {