aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorLeon Romanovsky2017-06-29 13:12:45 +0300
committerLeon Romanovsky2017-08-10 13:28:13 +0300
commit5654e49db0b2d87c12b6e120b6a830abe3d3921b (patch)
treef4ec9a8ffa05af15e2f0bcd38b0cc1933aeb4292 /include/uapi/rdma
parent34840fea112d36507c19dc6052b8c6d88bdd9c16 (diff)
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 */