summaryrefslogtreecommitdiff
path: root/include/rdma/rdma_vt.h
diff options
context:
space:
mode:
authorDennis Dalessandro <dennis.dalessandro@intel.com>2016-02-04 01:15:11 +0300
committerDoug Ledford <dledford@redhat.com>2016-03-11 04:37:32 +0300
commit1f024992ef05d1eb9b3a0becd1611ecfa21854a6 (patch)
tree74c5dcc992c00e471ee3c5298b503d834b9d40be /include/rdma/rdma_vt.h
parentf1badc716349cc2ac6e55ad50dcff598ef97bad5 (diff)
downloadlinux-1f024992ef05d1eb9b3a0becd1611ecfa21854a6.tar.xz
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 */