summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_vt.h
diff options
context:
space:
mode:
authorDennis Dalessandro2016-02-03 23:15:11 +0100
committerDoug Ledford2016-03-11 02:37:32 +0100
commit1f024992ef05d1eb9b3a0becd1611ecfa21854a6 (patch)
tree74c5dcc992c00e471ee3c5298b503d834b9d40be /include/rdma/rdma_vt.h
parentIB/rdmavt: Clean up distinction between port number and index (diff)
downloadkernel-qcow2-linux-1f024992ef05d1eb9b3a0becd1611ecfa21854a6.tar.gz
kernel-qcow2-linux-1f024992ef05d1eb9b3a0becd1611ecfa21854a6.tar.xz
kernel-qcow2-linux-1f024992ef05d1eb9b3a0becd1611ecfa21854a6.zip
IB/rdmavt: Add query gid support.
Addin query gid support. Rdmavt still relies on the driver to maintain the gid table. Rdmavt simply calls into the driver to retrive the guid for a particular port. Reviewed-by: Harish Chegondi <harish.chegondi@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h
index 5d1c694a2731..dabf4d52b4fc 100644
--- a/include/rdma/rdma_vt.h
+++ b/include/rdma/rdma_vt.h
@@ -248,6 +248,8 @@ struct rvt_driver_provided {
u32 (*mtu_from_qp)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
u32 pmtu);
int (*mtu_to_path_mtu)(u32 mtu);
+ int (*get_guid_be)(struct rvt_dev_info *rdi, struct rvt_ibport *rvp,
+ int guid_index, __be64 *guid);
/*--------------------*/
/* Optional functions */