]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit530b47139b92d38a7be07551752fae7f01621f63
tree802a9de893546367458883a1f97dc8b7ca83ba26
parentb0c106f8e29008c5b1a16105fabc2e1193dc6e51
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