rpcrdma: Fix SQ size calculation when memreg is FRMR
authorTom Tucker <tom@ogc.us>
Wed, 11 Aug 2010 16:47:24 +0000 (12:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Aug 2010 16:47:24 +0000 (12:47 -0400)
commit15cdc644b268a9a9ce73ce0b153129222c254b7b
treeaca119f733a5c0823ed4b294c3eef4a222d55b7c
parent7a8b80eb38b248cfdf84048dad12073d5cfba3e6
rpcrdma: Fix SQ size calculation when memreg is FRMR

This patch updates the computation to include the worst case situation
where three FRMR are required to map a single RPC REQ.

Signed-off-by: Tom Tucker <tom@ogc.us>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/verbs.c