summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_vt.h
diff options
context:
space:
mode:
authorDennis Dalessandro2016-01-06 18:54:16 +0100
committerDoug Ledford2016-03-11 02:37:06 +0100
commit30588643f95e1bb1239e2568de7a653722832a5e (patch)
tree88dc1813110e3b287ed38d220b16b1ea71b7d3ec /include/rdma/rdma_vt.h
parentIB/rdmavt: Add query and modify port stubs (diff)
downloadkernel-qcow2-linux-30588643f95e1bb1239e2568de7a653722832a5e.tar.gz
kernel-qcow2-linux-30588643f95e1bb1239e2568de7a653722832a5e.tar.xz
kernel-qcow2-linux-30588643f95e1bb1239e2568de7a653722832a5e.zip
IB/rdmavt: Add pkey query stub
The pkey table will reside in the rvt structure but it will be modified only when the driver requests then rvt will simply read the value to return in the query. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/rdma_vt.h')
-rw-r--r--include/rdma/rdma_vt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h
index 2990e03bdd9e..bf072a436a34 100644
--- a/include/rdma/rdma_vt.h
+++ b/include/rdma/rdma_vt.h
@@ -114,12 +114,13 @@ struct rvt_dev_info {
* The driver will also be responsible for filling in certain members of
* dparms.props
*/
-
struct ib_device ibdev;
/* Driver specific properties */
struct rvt_driver_params dparms;
+ /* PKey Table goes here */
+
/*
* The work to create port files in /sys/class Infiniband is different
* depending on the driver. This should not be extracted away and