]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Support larger inline thresholds
authorChuck Lever <chuck.lever@oracle.com>
Thu, 15 Sep 2016 14:57:32 +0000 (10:57 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 19 Sep 2016 17:08:38 +0000 (13:08 -0400)
commitfe1bab590991ac9e69548149af964f9ffdba702a
treeabfc3f5f0239281d606ca50c74c11fa02497fec6
parentfe143e73b1763933856337ab5d5a0532883b9eef
xprtrdma: Support larger inline thresholds

The Version One default inline threshold is still 1KB. But allow
testing with thresholds up to 64KB.

This maximum is somewhat arbitrary. There's no fundamental
architectural limit I'm aware of, but it's good to keep the size of
Receive buffers reasonable. Now that Send can use a s/g list, a
Send buffer is only as large as each RPC requires. Receive buffers
are always the size of the inline threshold, however.

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