xprtrdma: Fall back to MTHCAFMR when FRMR is not supported
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 May 2014 14:32:51 +0000 (10:32 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 4 Jun 2014 12:56:39 +0000 (08:56 -0400)
commitf10eafd3a6ce9da7e96999c124b643ea6c4921f3
tree802a9de893546367458883a1f97dc8b7ca83ba26
parent0ac531c1832318efa3dc3d723e356a7e09330e80
xprtrdma: Fall back to MTHCAFMR when FRMR is not supported

An audit of in-kernel RDMA providers that do not support the FRMR
memory registration shows that several of them support MTHCAFMR.
Prefer MTHCAFMR when FRMR is not supported.

If MTHCAFMR is not supported, only then choose ALLPHYSICAL.

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