diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2017-06-28 08:05:14 -0400 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2017-08-10 06:28:12 -0400 |
| commit | 12026fbba6af2fc53c3c6cf88bdfc6561986ba82 (patch) | |
| tree | d8d8a8d322b58551041e47bca8fc6923f7ba20b5 /include/uapi/rdma | |
| parent | 1aaff896ca6b968a639e3e1e72ba6146ba332501 (diff) | |
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.h | 5 |
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 { | |||
| 279 | */ | 279 | */ |
| 280 | RDMA_NLDEV_ATTR_SYS_IMAGE_GUID, /* u64 */ | 280 | RDMA_NLDEV_ATTR_SYS_IMAGE_GUID, /* u64 */ |
| 281 | 281 | ||
| 282 | /* | ||
| 283 | * Subnet prefix (in host byte order) | ||
| 284 | */ | ||
| 285 | RDMA_NLDEV_ATTR_SUBNET_PREFIX, /* u64 */ | ||
| 286 | |||
| 282 | RDMA_NLDEV_ATTR_MAX | 287 | RDMA_NLDEV_ATTR_MAX |
| 283 | }; | 288 | }; |
| 284 | #endif /* _UAPI_RDMA_NETLINK_H */ | 289 | #endif /* _UAPI_RDMA_NETLINK_H */ |
