aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-06-29 13:12:45 +0300
committerLeon Romanovsky <leon@kernel.org>2017-08-10 13:28:13 +0300
commit5654e49db0b2d87c12b6e120b6a830abe3d3921b (patch)
treef4ec9a8ffa05af15e2f0bcd38b0cc1933aeb4292 /include/uapi/rdma
parentRDMA/netlink: Export LID mask control (LMC) (diff)
downloadlinux-dev-5654e49db0b2d87c12b6e120b6a830abe3d3921b.tar.xz
linux-dev-5654e49db0b2d87c12b6e120b6a830abe3d3921b.zip
RDMA/netlink: Provide port state and physical link state
Add port state and physical link state to the users of RDMA netlink. Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/rdma_netlink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 035706e6b016..c488c3cf361b 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -297,6 +297,9 @@ enum rdma_nldev_attr {
*/
RDMA_NLDEV_ATTR_LMC, /* u8 */
+ RDMA_NLDEV_ATTR_PORT_STATE, /* u8 */
+ RDMA_NLDEV_ATTR_PORT_PHYS_STATE, /* u8 */
+
RDMA_NLDEV_ATTR_MAX
};
#endif /* _UAPI_RDMA_NETLINK_H */