]> 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)
commit5ba001e9305c3961384cfb08a67f54bd714eda4c
tree802a9de893546367458883a1f97dc8b7ca83ba26
parent35d889bf6ff03c9232e96d3fa324b407cf46fef3
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