History

RDMA/nldev: Provide netdevice name and index

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.

Leon Romanovsky committed 8 years ago

Commit 5b2cc791 parent 99dae692 files · +39 −5Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/rdma/rdma_netlink.h+13−0
@@ -388,6 +388,19 @@ enum rdma_nldev_attr { · 387 unmodified lines
388388 RDMA_NLDEV_ATTR_RES_LOCAL_DMA_LKEY, /* u32 */
389389 RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY, /* u32 */
390390
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+
391404 RDMA_NLDEV_ATTR_MAX
392405 };
393406 #endif /* _UAPI_RDMA_NETLINK_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t