Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chuck Lever and committed by
Anna Schumaker
aeaed484 f3c66a2f

+2 -2
+2 -2
include/linux/sunrpc/xprtrdma.h
··· 49 49 * fully-chunked NFS message (read chunks are the largest). Note only 50 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 53 #define RPCRDMA_DEF_SLOT_TABLE (128U) 54 - #define RPCRDMA_MAX_SLOT_TABLE (256U) 54 + #define RPCRDMA_MAX_SLOT_TABLE (16384U) 55 55 56 56 #define RPCRDMA_MIN_INLINE (1024) /* min inline thresh */ 57 57 #define RPCRDMA_DEF_INLINE (4096) /* default inline thresh */