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>
This commit is contained in:
committed by
Leon Romanovsky
parent
8621a7e3c1
commit
1aaff896ca
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user