summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-06-28 13:01:37 +0200
committerLeon Romanovsky <leon@kernel.org>2017-08-10 12:28:11 +0200
commit1aaff896ca6b968a639e3e1e72ba6146ba332501 (patch)
treee45139bdce31f7c849a40868093e7183e859450f /include/uapi/rdma
parentRDMA/netlink: Export FW version (diff)
downloadlinux-1aaff896ca6b968a639e3e1e72ba6146ba332501.tar.xz
linux-1aaff896ca6b968a639e3e1e72ba6146ba332501.zip
RDMA/netlink: Export node_guid and sys_image_guid
Add Node GUID and system image GUID to the device properties exported by RDMA netlink, to be used by RDMAtool. Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/rdma_netlink.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 5159858730b0..fe3a7429e7a1 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -266,6 +266,19 @@ enum rdma_nldev_attr {
* FW version
*/
RDMA_NLDEV_ATTR_FW_VERSION, /* string */
+
+ /*
+ * Node GUID (in host byte order) associated with the RDMA device.
+ */
+ RDMA_NLDEV_ATTR_NODE_GUID, /* u64 */
+
+ /*
+ * System image GUID (in host byte order) associated with
+ * this RDMA device and other devices which are part of a
+ * single system.
+ */
+ RDMA_NLDEV_ATTR_SYS_IMAGE_GUID, /* u64 */
+
RDMA_NLDEV_ATTR_MAX
};
#endif /* _UAPI_RDMA_NETLINK_H */