mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
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>
This commit is contained in:
parent
1aaff896ca
commit
12026fbba6
2 changed files with 10 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue