diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-06-27 15:58:59 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2017-08-10 12:28:11 +0200 |
commit | 8621a7e3c1c22e18385c9ced1647363884ea2aa1 (patch) | |
tree | b4122be4c9efd6639f4ed97e682d64bbb912b434 /include/uapi/rdma/rdma_netlink.h | |
parent | RDMA: Simplify get firmware interface (diff) | |
download | linux-8621a7e3c1c22e18385c9ced1647363884ea2aa1.tar.xz 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 */ |