aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Derr <simon.derr@bull.net>2013-06-21 09:32:37 -0400
committerEric Van Hensbergen <ericvh@gmail.com>2013-07-07 23:02:28 -0400
commit3fcc62f4e8620fd5f85f957a5e708e69a20adb51 (patch)
tree5b86208a0449a6f8ef0fd316ab9ce76e3b4afa1a
parent5387320d4814aa1e40b50529d960a8f2b3340535 (diff)
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>
-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 @@
57#define P9_RDMA_IRD 0 57#define P9_RDMA_IRD 0
58#define P9_RDMA_ORD 0 58#define P9_RDMA_ORD 0
59#define P9_RDMA_TIMEOUT 30000 /* 30 seconds */ 59#define P9_RDMA_TIMEOUT 30000 /* 30 seconds */
60#define P9_RDMA_MAXSIZE (4*4096) /* Min SGE is 4, so we can 60#define P9_RDMA_MAXSIZE (1024*1024) /* 1MB */
61 * safely advertise a maxsize
62 * of 64k */
63 61
64/** 62/**
65 * struct p9_trans_rdma - RDMA transport instance 63 * struct p9_trans_rdma - RDMA transport instance