Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

adrianchiris
Copy link
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
Collaborator Author

@paravmellanox appreciate a quick look at the PR.

Copy link
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
Collaborator Author

@aboch @vishvananda appreciate a quick look at the PR

@aboch
Copy link
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