summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSimon Derr <simon.derr@bull.net>2013-06-21 15:32:37 +0200
committerEric Van Hensbergen <ericvh@gmail.com>2013-07-08 05:02:28 +0200
commit3fcc62f4e8620fd5f85f957a5e708e69a20adb51 (patch)
tree5b86208a0449a6f8ef0fd316ab9ce76e3b4afa1a /net
parent9pnet: refactor struct p9_fcall alloc code (diff)
downloadlinux-3fcc62f4e8620fd5f85f957a5e708e69a20adb51.tar.xz
linux-3fcc62f4e8620fd5f85f957a5e708e69a20adb51.zip
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')
-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