From: Simon Derr Date: Fri, 21 Jun 2013 13:32:37 +0000 (+0200) Subject: 9P/RDMA: increase P9_RDMA_MAXSIZE to 1MB X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3fcc62f4e8620fd5f85f957a5e708e69a20adb51;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 9P/RDMA: increase P9_RDMA_MAXSIZE to 1MB The current value is too low to get good performance. Signed-off-by: Simon Derr Signed-off-by: Eric Van Hensbergen --- 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