summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport/rdma/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-10-08 06:58:51 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-08 06:05:03 -0700
commit2e43696eb90dc835d0aa8000e19b6f207760309c (patch)
tree6569d70e1be498c0ba9ecc157dd94cb25b4d64ce /rpc/rpc-transport/rdma/src
parent98e1ea0f178bdb8d26037edda9aae7bc2339bac4 (diff)
migrate from port 69* to 24007
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1870 (Change the port from 69* to some other ports.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1870
Diffstat (limited to 'rpc/rpc-transport/rdma/src')
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.h b/rpc/rpc-transport/rdma/src/rdma.h
index 97cfd0461..a3ab8dcbe 100644
--- a/rpc/rpc-transport/rdma/src/rdma.h
+++ b/rpc/rpc-transport/rdma/src/rdma.h
@@ -40,8 +40,8 @@
#include <infiniband/verbs.h>
/* FIXME: give appropriate values to these macros */
-#define GF_DEFAULT_RDMA_LISTEN_PORT 6968
-#define RDMA_MAX_SEGMENTS 8
+#define GF_DEFAULT_RDMA_LISTEN_PORT (GF_DEFAULT_BASE_PORT + 1)
+#define RDMA_MAX_SEGMENTS 8
#define RDMA_MAX_HEADER_SIZE (sizeof (rdma_header_t) \
+ RDMA_MAX_SEGMENTS \
* sizeof (rdma_read_chunk_t))