diff options
author | Simon Derr <simon.derr@bull.net> | 2013-06-21 13:32:37 (GMT) |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2013-07-08 03:02:28 (GMT) |
commit | 3fcc62f4e8620fd5f85f957a5e708e69a20adb51 (patch) | |
tree | 5b86208a0449a6f8ef0fd316ab9ce76e3b4afa1a /net/9p/trans_rdma.c | |
parent | 5387320d4814aa1e40b50529d960a8f2b3340535 (diff) | |
download | linux-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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c index b1dfdf2..b8b66d3 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 |