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 devlink command to query common devlink port attributes #546

Merged
merged 2 commits into from
Nov 22, 2020

Conversation

paravmellanox
Copy link
Contributor

Devlink ports has several common attributes typically exposed by an eswitch devlink device.

Add devlink commands to query devlink port list and query specific devlink port attributes.
Added unit tests for both the new APIs.

Add devlink command to get list of devlink ports and their common
attributes.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Add a command to get information about a specific devlink port
referenced by device name and port index(bus, device, port index).

Signed-off-by: Parav Pandit <parav@mellanox.com>
@vishvananda
Copy link
Owner

Can you squash this into a single commit please?

@paravmellanox
Copy link
Contributor Author

@vishvananda ok. will do. Thanks.

@paravmellanox
Copy link
Contributor Author

paravmellanox commented Sep 14, 2020

@vishvananda I had more port attributes and was waiting for this merge, but since I am resending, I as well merge rest of them too.

@aboch
Copy link
Collaborator

aboch commented Nov 22, 2020

LGTM

@aboch aboch merged commit e440572 into vishvananda:master Nov 22, 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.

None yet

3 participants