RPC/RDMA: support FRMR client memory registration.
authorTom Talpey <talpey@netapp.com>
Thu, 9 Oct 2008 19:00:20 +0000 (15:00 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 10 Oct 2008 19:09:34 +0000 (15:09 -0400)
commit3197d309f5fb042499b2c4c8f2fcb67372df5201
treea4cca3420bc99e44af00806abe4a265d539d9c24
parentbd7ed1d13304d914648dacec4dbb9145aaae614e
RPC/RDMA: support FRMR client memory registration.

Configure, detect and use "fastreg" support from IB/iWARP verbs
layer to perform RPC/RDMA memory registration.

Make FRMR the default memreg mode (will fall back if not supported
by the selected RDMA adapter).

This allows full and optimal operation over the cxgb3 adapter, and others.

Signed-off-by: Tom Talpey <talpey@netapp.com>
Acked-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/verbs.c