diff options
author | Nir Muchtar <nirm@voltaire.com> | 2011-05-20 20:46:11 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-05-25 22:46:22 +0200 |
commit | 550e5ca77e96989c5e19f60e017205b2bcc615a5 (patch) | |
tree | ac2a52507f095a476875eab4ead8957655671bc3 /include/rdma/rdma_cm.h | |
parent | RDMA: Add netlink infrastructure (diff) | |
download | linux-550e5ca77e96989c5e19f60e017205b2bcc615a5.tar.xz linux-550e5ca77e96989c5e19f60e017205b2bcc615a5.zip |
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.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/rdma/rdma_cm.h b/include/rdma/rdma_cm.h index 169f7a53fb0c..d5b2265b7ce8 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; /** |