]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: mind the device's max fast register page list depth
authorSteve Wise <swise@opengridcomputing.com>
Wed, 28 May 2014 14:32:00 +0000 (10:32 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 4 Jun 2014 12:56:33 +0000 (08:56 -0400)
commit378a928b9648b92218583068f1eed5763dfa2d90
tree5f750b1249c2107df15b28a1ed98c696dafa6480
parent71fd59e17b362424ef61a3e6facaafee41b1a22e
xprtrdma: mind the device's max fast register page list depth

Some rdma devices don't support a fast register page list depth of
at least RPCRDMA_MAX_DATA_SEGS.  So xprtrdma needs to chunk its fast
register regions according to the minimum of the device max supported
depth or RPCRDMA_MAX_DATA_SEGS.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h