diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-06-29 13:12:45 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2017-08-10 13:28:13 +0300 |
commit | 5654e49db0b2d87c12b6e120b6a830abe3d3921b (patch) | |
tree | f4ec9a8ffa05af15e2f0bcd38b0cc1933aeb4292 /include/uapi | |
parent | 34840fea112d36507c19dc6052b8c6d88bdd9c16 (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')
-rw-r--r-- | include/uapi/rdma/rdma_netlink.h | 3 |
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 */ |