提交 061dff29 编写于 作者: C Chuck Lever 提交者: Anna Schumaker

xprtrdma: Increase default credit limit

In preparation for similar increases on NFS/RDMA servers, bump the
advertised credit limit for RPC/RDMA to 128. This allocates some
extra resources, but the client will continue to allow only the
number of RPCs in flight that the server requests via its advertised
credit limit.
Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
Reviewed-By: NSagi Grimberg <sagig@mellanox.com>
Tested-by: NDevesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
上级 864be126
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
* a single chunk type per message is supported currently. * a single chunk type per message is supported currently.
*/ */
#define RPCRDMA_MIN_SLOT_TABLE (2U) #define RPCRDMA_MIN_SLOT_TABLE (2U)
#define RPCRDMA_DEF_SLOT_TABLE (32U) #define RPCRDMA_DEF_SLOT_TABLE (128U)
#define RPCRDMA_MAX_SLOT_TABLE (256U) #define RPCRDMA_MAX_SLOT_TABLE (256U)
#define RPCRDMA_DEF_INLINE (1024) /* default inline max */ #define RPCRDMA_DEF_INLINE (1024) /* default inline max */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册