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

devlink port add, delete, function get/set attributes #632

Merged
merged 3 commits into from
May 8, 2021

Conversation

paravmellanox
Copy link
Contributor

This patchset consist of 3 main functionalities.

  1. Shows optional devlink port function attributes when filled by kernel
  2. Add APIs to add devlink port by specifying device identification, port flavour and port attributes
  3. Port function attributes set

Patchset contains relevant test cases as well with a ability to specify device handle at command line.

@paravmellanox
Copy link
Contributor Author

@vishvananda,

Can you please review? Want to proceed to use in a new cni plugin.

@paravmellanox
Copy link
Contributor Author

Hi @vishvananda,

Gentle remind. If we can proceed with this enhancement.

@paravmellanox
Copy link
Contributor Author

@vishvananda @aboch

Did you get a chance to review it? Can we please proceed?

@paravmellanox
Copy link
Contributor Author

@vishvananda @aboch
ping.

@aboch
Copy link
Collaborator

aboch commented May 5, 2021

pls push something so that the CI runs

Extend devlink port for optional port function attributes.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Add APIs to add and delete a devlink port of specified flavour for a
given devlink device.

Extended test to accept devlink device and sf number parameters from the
test command line.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Add ability to set port function attributes such as state and hardware
address.

Signed-off-by: Parav Pandit <parav@nvidia.com>
@paravmellanox
Copy link
Contributor Author

@aboch, thanks for the input. I pushed again after rebase. All checks pass.

@aboch aboch merged commit 77f3f25 into vishvananda:master May 8, 2021
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.

2 participants