summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_cm.h
diff options
context:
space:
mode:
authorNir Muchtar <nirm@voltaire.com>2011-05-20 11:46:11 -0700
committerRoland Dreier <roland@purestorage.com>2011-05-25 13:46:22 -0700
commit550e5ca77e96989c5e19f60e017205b2bcc615a5 (patch)
treeac2a52507f095a476875eab4ead8957655671bc3 /include/rdma/rdma_cm.h
parentb2cbae2c248776d81cc265ff7d48405b6a4cc463 (diff)
downloadop-kernel-dev-550e5ca77e96989c5e19f60e017205b2bcc615a5.zip
op-kernel-dev-550e5ca77e96989c5e19f60e017205b2bcc615a5.tar.gz
RDMA/cma: Export enum cma_state in <rdma/rdma_cm.h>
Move cma.c's internal definition of enum cma_state to enum rdma_cm_state in an exported header so that it can be exported via RDMA netlink. Signed-off-by: Nir Muchtar <nirm@voltaire.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/rdma/rdma_cm.h')
-rw-r--r--include/rdma/rdma_cm.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/rdma/rdma_cm.h b/include/rdma/rdma_cm.h
index 169f7a5..d5b2265 100644
--- a/include/rdma/rdma_cm.h
+++ b/include/rdma/rdma_cm.h
@@ -111,6 +111,20 @@ struct rdma_cm_event {
} param;
};
+enum rdma_cm_state {
+ RDMA_CM_IDLE,
+ RDMA_CM_ADDR_QUERY,
+ RDMA_CM_ADDR_RESOLVED,
+ RDMA_CM_ROUTE_QUERY,
+ RDMA_CM_ROUTE_RESOLVED,
+ RDMA_CM_CONNECT,
+ RDMA_CM_DISCONNECT,
+ RDMA_CM_ADDR_BOUND,
+ RDMA_CM_LISTEN,
+ RDMA_CM_DEVICE_REMOVAL,
+ RDMA_CM_DESTROYING
+};
+
struct rdma_cm_id;
/**
OpenPOWER on IntegriCloud