Skip to content

vpp: support setting interface speed via sai#1961

Open
yue-fred-gao wants to merge 3 commits into
sonic-net:masterfrom
yue-fred-gao:set_interface_speed
Open

vpp: support setting interface speed via sai#1961
yue-fred-gao wants to merge 3 commits into
sonic-net:masterfrom
yue-fred-gao:set_interface_speed

Conversation

@yue-fred-gao

Copy link
Copy Markdown
Contributor

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: Yue Gao <yuega2@cisco.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Yue Gao <yuega2@cisco.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

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