diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-06-27 16:58:59 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2017-08-10 13:28:11 +0300 |
commit | 8621a7e3c1c22e18385c9ced1647363884ea2aa1 (patch) | |
tree | b4122be4c9efd6639f4ed97e682d64bbb912b434 /include/uapi/rdma/rdma_netlink.h | |
parent | 9abb0d1bbd9529c574eacd8586e2bf68d17966cd (diff) | |
download | talos-obmc-linux-8621a7e3c1c22e18385c9ced1647363884ea2aa1.tar.gz talos-obmc-linux-8621a7e3c1c22e18385c9ced1647363884ea2aa1.zip |
RDMA/netlink: Export FW version
Add FW version 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/rdma_netlink.h')
-rw-r--r-- | include/uapi/rdma/rdma_netlink.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h index 90de11db6580..5159858730b0 100644 --- a/include/uapi/rdma/rdma_netlink.h +++ b/include/uapi/rdma/rdma_netlink.h @@ -262,6 +262,10 @@ enum rdma_nldev_attr { */ RDMA_NLDEV_ATTR_CAP_FLAGS, /* u64 */ + /* + * FW version + */ + RDMA_NLDEV_ATTR_FW_VERSION, /* string */ RDMA_NLDEV_ATTR_MAX }; #endif /* _UAPI_RDMA_NETLINK_H */ |