aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-06-28 15:05:14 +0300
committerLeon Romanovsky <leon@kernel.org>2017-08-10 13:28:12 +0300
commit12026fbba6af2fc53c3c6cf88bdfc6561986ba82 (patch)
treed8d8a8d322b58551041e47bca8fc6923f7ba20b5 /include/uapi/rdma
parentRDMA/netlink: Export node_guid and sys_image_guid (diff)
downloadlinux-dev-12026fbba6af2fc53c3c6cf88bdfc6561986ba82.tar.xz
linux-dev-12026fbba6af2fc53c3c6cf88bdfc6561986ba82.zip
RDMA/netlink: Advertise IB subnet prefix
Add IB subnet prefix to the port properties exported by RDMA netlink. Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/uapi/rdma')
-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 fe3a7429e7a1..481003182a35 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -279,6 +279,11 @@ enum rdma_nldev_attr {
*/
RDMA_NLDEV_ATTR_SYS_IMAGE_GUID, /* u64 */
+ /*
+ * Subnet prefix (in host byte order)
+ */
+ RDMA_NLDEV_ATTR_SUBNET_PREFIX, /* u64 */
+
RDMA_NLDEV_ATTR_MAX
};
#endif /* _UAPI_RDMA_NETLINK_H */