diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2019-08-19 18:40:58 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-08-20 11:17:16 -0400 |
commit | aeaed4848234c97fb720b0e51a0c56dc8de0eeed (patch) | |
tree | 99055cba4f6444f02743f702ce5572684fe6339a /include/linux/sunrpc | |
parent | f3c66a2f56683a20ced4e700a8167d6b357641da (diff) |
xprtrdma: Boost client's max slot table size to match Linux server
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>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/xprtrdma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/xprtrdma.h b/include/linux/sunrpc/xprtrdma.h index 86fc38ff0355..16c239e0d6dd 100644 --- a/include/linux/sunrpc/xprtrdma.h +++ b/include/linux/sunrpc/xprtrdma.h | |||
@@ -49,9 +49,9 @@ | |||
49 | * fully-chunked NFS message (read chunks are the largest). Note only | 49 | * fully-chunked NFS message (read chunks are the largest). Note only |
50 | * a single chunk type per message is supported currently. | 50 | * a single chunk type per message is supported currently. |
51 | */ | 51 | */ |
52 | #define RPCRDMA_MIN_SLOT_TABLE (2U) | 52 | #define RPCRDMA_MIN_SLOT_TABLE (4U) |
53 | #define RPCRDMA_DEF_SLOT_TABLE (128U) | 53 | #define RPCRDMA_DEF_SLOT_TABLE (128U) |
54 | #define RPCRDMA_MAX_SLOT_TABLE (256U) | 54 | #define RPCRDMA_MAX_SLOT_TABLE (16384U) |
55 | 55 | ||
56 | #define RPCRDMA_MIN_INLINE (1024) /* min inline thresh */ | 56 | #define RPCRDMA_MIN_INLINE (1024) /* min inline thresh */ |
57 | #define RPCRDMA_DEF_INLINE (4096) /* default inline thresh */ | 57 | #define RPCRDMA_DEF_INLINE (4096) /* default inline thresh */ |