summaryrefslogtreecommitdiff
path: root/net/9p/trans_rdma.c
diff options
context:
space:
mode:
authorSimon Derr <simon.derr@bull.net>2013-06-21 17:32:37 +0400
committerEric Van Hensbergen <ericvh@gmail.com>2013-07-08 07:02:28 +0400
commit3fcc62f4e8620fd5f85f957a5e708e69a20adb51 (patch)
tree5b86208a0449a6f8ef0fd316ab9ce76e3b4afa1a /net/9p/trans_rdma.c
parent5387320d4814aa1e40b50529d960a8f2b3340535 (diff)
downloadlinux-3fcc62f4e8620fd5f85f957a5e708e69a20adb51.tar.xz
9P/RDMA: increase P9_RDMA_MAXSIZE to 1MB
The current value is too low to get good performance. Signed-off-by: Simon Derr <simon.derr@bull.net> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/trans_rdma.c')
-rw-r--r--net/9p/trans_rdma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c
index b1dfdf2078ff..b8b66d38f5b0 100644
--- a/net/9p/trans_rdma.c
+++ b/net/9p/trans_rdma.c
@@ -57,9 +57,7 @@
#define P9_RDMA_IRD 0
#define P9_RDMA_ORD 0
#define P9_RDMA_TIMEOUT 30000 /* 30 seconds */
-#define P9_RDMA_MAXSIZE (4*4096) /* Min SGE is 4, so we can
- * safely advertise a maxsize
- * of 64k */
+#define P9_RDMA_MAXSIZE (1024*1024) /* 1MB */
/**
* struct p9_trans_rdma - RDMA transport instance