]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/include/uapi/rdma/rdma_netlink.h
rdma: align headers with upstream
[mirror_iproute2.git] / rdma / include / uapi / rdma / rdma_netlink.h
index 9446a72136e859a8d51c6ca2f4457fffb51d41dd..60416ed71c0fcc093ba6a8ad35f3fe405edb331b 100644 (file)
@@ -388,6 +388,19 @@ enum rdma_nldev_attr {
        RDMA_NLDEV_ATTR_RES_LOCAL_DMA_LKEY,     /* u32 */
        RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY, /* u32 */
 
+       /*
+        * Provides logical name and index of netdevice which is
+        * connected to physical port. This information is relevant
+        * for RoCE and iWARP.
+        *
+        * The netdevices which are associated with containers are
+        * supposed to be exported together with GID table once it
+        * will be exposed through the netlink. Because the
+        * associated netdevices are properties of GIDs.
+        */
+       RDMA_NLDEV_ATTR_NDEV_INDEX,             /* u32 */
+       RDMA_NLDEV_ATTR_NDEV_NAME,              /* string */
+
        RDMA_NLDEV_ATTR_MAX
 };
 #endif /* _RDMA_NETLINK_H */