Skip to content

[action] [PR:1961] vpp: support setting interface speed via sai - #135

Merged
mssonicbld merged 1 commit into
Azure:202603from
mssonicbld:cherry/msft-202603/1961
Aug 5, 2026
Merged

[action] [PR:1961] vpp: support setting interface speed via sai#135
mssonicbld merged 1 commit into
Azure:202603from
mssonicbld:cherry/msft-202603/1961

Conversation

@mssonicbld

Copy link
Copy Markdown
Collaborator

Description of PR

Summary: support setting interface speed in vpp

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Documentation update
  • Test improvement

Approach

What is the motivation for this PR?

Work item tracking
  • Microsoft ADO (number only):

How did you do it?

  1. extend vpp to support setting interface speed through api via PR: https://gerrit.fd.io/r/c/vpp/+/45800
  2. implement vpp_set_port_speed on top of the new vpp api
  3. hook up SAI_PORT_ATTR_SPEED attribute in sai UpdatePort to vpp_set_port_speed

How did you verify/test it?

Run test with Marvel octeon driver

Any platform specific information?

vpp specific

Documentation

Signed-off-by: Sonic Build Admin sonicbld@microsoft.com

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary: support setting interface speed in vpp

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [ ] Bug fix
- [x] New feature
- [ ] Refactor / cleanup
- [ ] Documentation update
- [ ] Test improvement

### Approach
#### What is the motivation for this PR?

##### Work item tracking
- Microsoft ADO **(number only)**:

#### How did you do it?
1. extend vpp to support setting interface speed through api via PR: https://gerrit.fd.io/r/c/vpp/+/45800
2. implement vpp_set_port_speed on top of the new vpp api
3. hook up SAI_PORT_ATTR_SPEED attribute in sai UpdatePort to vpp_set_port_speed
#### How did you verify/test it?
Run test with Marvel octeon driver
#### Any platform specific information?
vpp specific
### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->

Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator Author

Original PR: sonic-net/sonic-sairedis#1961

@mssonicbld

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

@mssonicbld
mssonicbld merged commit 9f709e3 into Azure:202603 Aug 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant