summaryrefslogtreecommitdiff
path: root/ctdb/ib/ibwrapper_internal.h
diff options
context:
space:
mode:
authorPeter Somogyi <psomogyi@gamax.hu>2007-01-25 11:01:59 +0100
committerPeter Somogyi <psomogyi@gamax.hu>2007-01-25 11:01:59 +0100
commit7c3982eb3b6b76b7062467b1f768c5e5f58fc9eb (patch)
tree4b4b35b09112c524f3056fee181a62ee2bcf2d99 /ctdb/ib/ibwrapper_internal.h
parent9c114a3fc51634abdf40b6e471b4775b8eaebac0 (diff)
downloadsamba-7c3982eb3b6b76b7062467b1f768c5e5f58fc9eb.tar.gz
1st "working" ib version.
TODO: stress test, variable size messages, flood (This used to be ctdb commit 5f2a834fdcebe349aad095010ae01cce788b6482)
Diffstat (limited to 'ctdb/ib/ibwrapper_internal.h')
-rw-r--r--ctdb/ib/ibwrapper_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ctdb/ib/ibwrapper_internal.h b/ctdb/ib/ibwrapper_internal.h
index 524bad816e6..a879427a115 100644
--- a/ctdb/ib/ibwrapper_internal.h
+++ b/ctdb/ib/ibwrapper_internal.h
@@ -51,8 +51,6 @@ struct ibw_ctx_priv {
struct rdma_event_channel *cm_channel;
struct fd_event *cm_channel_event;
- struct ibv_pd *pd;
-
ibw_connstate_fn_t connstate_func; /* see ibw_init */
ibw_receive_fn_t receive_func; /* see ibw_init */
@@ -71,6 +69,7 @@ struct ibw_conn_priv {
struct fd_event *verbs_channel_event;
struct rdma_cm_id *cm_id; /* client's cm id */
+ struct ibv_pd *pd;
int is_accepted;
struct ibv_cq *cq; /* qp is in cm_id */