summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorHarish Chegondi <harish.chegondi@intel.com>2016-01-22 23:50:36 +0300
committerDoug Ledford <dledford@redhat.com>2016-03-11 04:37:20 +0300
commitfeaeb6e26fd15f6531e28f2900e0b59705bfc3d4 (patch)
tree928114f9e399d2fbc4ceed9fd74232c4a2c38a10 /include/rdma
parentfef2efd6b4951148cc8dd1df7b3e1ff2f13dd6df (diff)
downloadlinux-feaeb6e26fd15f6531e28f2900e0b59705bfc3d4.tar.xz
IB/rdmavt: Add support for rvt_query_device function
With this commit, the drivers using rdmavt need not define query_device function. But they should fill in the IB device attributes structure rvt_dev_info.dparms.props Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Harish Chegondi <harish.chegondi@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/rdma_vt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h
index e412e670e687..725778a6781d 100644
--- a/include/rdma/rdma_vt.h
+++ b/include/rdma/rdma_vt.h
@@ -245,7 +245,10 @@ struct rvt_dev_info {
* allocating space for this structure.
*
* The driver will also be responsible for filling in certain members of
- * dparms.props
+ * dparms.props. The driver needs to fill in dparms exactly as it would
+ * want values reported to a ULP. This will be returned to the caller
+ * in rdmavt's device. The driver should also therefore refrain from
+ * modifying this directly after registration with rdmavt.
*/
/* Driver specific properties */