svcrdma: Query device for Fast Reg support during connection setup
authorTom Tucker <tom@opengridcomputing.com>
Tue, 30 Sep 2008 18:46:13 +0000 (13:46 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Mon, 6 Oct 2008 19:45:45 +0000 (14:45 -0500)
commit3a5c63803d0552a3ad93b85c262f12cd86471443
treeaec8f9e66b2ac4258a7e379be5ce9abd5670da49
parent64be8608c163bd480cf5ec4b34366f11e0f3c87f
svcrdma: Query device for Fast Reg support during connection setup

Query the device capabilities in the svc_rdma_accept function to determine
what advanced memory management capabilities are supported by the device.
Based on the query, select the most secure model available given the
requirements of the transport and capabilities of the adapter.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c