Export the net device name and index to easily find connection between IB devices and relevant net devices. We also updated the comment regarding the devices without FW.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -388,6 +388,19 @@ enum rdma_nldev_attr { · 387 unmodified lines | ||
| 388 | 388 | RDMA_NLDEV_ATTR_RES_LOCAL_DMA_LKEY, /* u32 */ |
| 389 | 389 | RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY, /* u32 */ |
| 390 | 390 | |
| 391 | + /* | |
| 392 | + * Provides logical name and index of netdevice which is | |
| 393 | + * connected to physical port. This information is relevant | |
| 394 | + * for RoCE and iWARP. | |
| 395 | + * | |
| 396 | + * The netdevices which are associated with containers are | |
| 397 | + * supposed to be exported together with GID table once it | |
| 398 | + * will be exposed through the netlink. Because the | |
| 399 | + * associated netdevices are properties of GIDs. | |
| 400 | + */ | |
| 401 | + RDMA_NLDEV_ATTR_NDEV_INDEX, /* u32 */ | |
| 402 | + RDMA_NLDEV_ATTR_NDEV_NAME, /* string */ | |
| 403 | + | |
| 391 | 404 | RDMA_NLDEV_ATTR_MAX |
| 392 | 405 | }; |
| 393 | 406 | #endif /* _UAPI_RDMA_NETLINK_H */ |