xprtrdma: Boost client's max slot table size to match Linux server
authorChuck Lever <chuck.lever@oracle.com>
Mon, 19 Aug 2019 22:40:58 +0000 (18:40 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 20 Aug 2019 15:17:16 +0000 (11:17 -0400)
I've heard rumors of an NFS/RDMA server implementation that has a
default credit limit of 1024. The client's default setting remains
at 128.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xprtrdma.h

index 86fc38ff03550b1a601bfb54f30d700339654887..16c239e0d6dd4e618dd19405747498200e339921 100644 (file)
@@ -49,9 +49,9 @@
  * fully-chunked NFS message (read chunks are the largest). Note only
  * a single chunk type per message is supported currently.
  */
-#define RPCRDMA_MIN_SLOT_TABLE (2U)
+#define RPCRDMA_MIN_SLOT_TABLE (4U)
 #define RPCRDMA_DEF_SLOT_TABLE (128U)
-#define RPCRDMA_MAX_SLOT_TABLE (256U)
+#define RPCRDMA_MAX_SLOT_TABLE (16384U)
 
 #define RPCRDMA_MIN_INLINE  (1024)     /* min inline thresh */
 #define RPCRDMA_DEF_INLINE  (4096)     /* default inline thresh */