9P/RDMA: increase P9_RDMA_MAXSIZE to 1MB
authorSimon Derr <simon.derr@bull.net>
Fri, 21 Jun 2013 13:32:37 +0000 (15:32 +0200)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 8 Jul 2013 03:02:28 +0000 (22:02 -0500)
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>
net/9p/trans_rdma.c

index b1dfdf2..b8b66d3 100644 (file)
@@ -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