aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-06-29 16:01:29 +0300
committerLeon Romanovsky <leon@kernel.org>2017-08-10 13:28:14 +0300
commit1bb77b8c1d57149ed0aa6825255ead80ae584034 (patch)
treeb7c8ca2283e40c4826e56aa784de2dde22cbe141 /include/uapi/rdma
parent5654e49db0b2d87c12b6e120b6a830abe3d3921b (diff)
RDMA/netlink: Export node_type
Add ability to get node_type for RDAM netlink users. Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/rdma_netlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index c488c3cf361b..861440a87e7c 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -300,6 +300,8 @@ enum rdma_nldev_attr {
RDMA_NLDEV_ATTR_PORT_STATE, /* u8 */
RDMA_NLDEV_ATTR_PORT_PHYS_STATE, /* u8 */
+ RDMA_NLDEV_ATTR_DEV_NODE_TYPE, /* u8 */
+
RDMA_NLDEV_ATTR_MAX
};
#endif /* _UAPI_RDMA_NETLINK_H */

Privacy Policy