Skip to content

Add support for getting all RDMA devices in the system#533

Merged
aboch merged 1 commit intovishvananda:masterfrom
adrianchiris:rdma-link-list
Jun 3, 2020
Merged

Add support for getting all RDMA devices in the system#533
aboch merged 1 commit intovishvananda:masterfrom
adrianchiris:rdma-link-list

Conversation

@adrianchiris
Copy link
Copy Markdown
Collaborator

  • Add RdmaLinkList() method that retrieves RDMA devices
    in the system.

  • Modify RdmaLinkByName() to use RdmaLinkList() to avoid code
    duplication.

  • Add unit test that demonstrates how to use RdmaLinkList()

Signed-off-by: Adrian Chiris adrianc@mellanox.com

- Add RdmaLinkList() method that retrieves RDMA devices
  in the system.

- Modify RdmaLinkByName() to use RdmaLinkList() to avoid code
  duplication.

- Add unit test that demonstrates how to use RdmaLinkList()

Signed-off-by: Adrian Chiris <adrianc@mellanox.com>
@adrianchiris
Copy link
Copy Markdown
Collaborator Author

@paravmellanox appreciate a quick look at the PR.

Copy link
Copy Markdown
Contributor

@paravmellanox paravmellanox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Parav Pandit parav@mellanox.com

@adrianchiris
Copy link
Copy Markdown
Collaborator Author

@aboch @vishvananda appreciate a quick look at the PR

@aboch
Copy link
Copy Markdown
Collaborator

aboch commented Jun 3, 2020

LGTM

@aboch aboch merged commit f4f591a into vishvananda:master Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants