summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/rdma_netlink.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-06-28 15:49:30 +0300
committerLeon Romanovsky <leon@kernel.org>2017-08-10 13:28:13 +0300
commit34840fea112d36507c19dc6052b8c6d88bdd9c16 (patch)
treed56ecc9ef26ccce8e9315f2a1ba3bf4dca910ba1 /include/uapi/rdma/rdma_netlink.h
parent80a06dd36f79de7007f21f5cbe42181a4e5c7d6d (diff)
downloadop-kernel-dev-34840fea112d36507c19dc6052b8c6d88bdd9c16.zip
op-kernel-dev-34840fea112d36507c19dc6052b8c6d88bdd9c16.tar.gz
RDMA/netlink: Export LID mask control (LMC)
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 7d5caaf..035706e 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -292,6 +292,11 @@ enum rdma_nldev_attr {
RDMA_NLDEV_ATTR_LID, /* u32 */
RDMA_NLDEV_ATTR_SM_LID, /* u32 */
+ /*
+ * LID mask control (LMC)
+ */
+ RDMA_NLDEV_ATTR_LMC, /* u8 */
+
RDMA_NLDEV_ATTR_MAX
};
#endif /* _UAPI_RDMA_NETLINK_H */
OpenPOWER on IntegriCloud