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

[portsorch]: Implement port PFC asym capability check #2942

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

nazariig
Copy link
Collaborator

Signed-off-by: Nazarii Hnydyn nazariig@nvidia.com

Capability check helps to avoid port misconfiguration on systems where PFC asymmetric is not supported

What I did

  • Added PFC asymmetric configuration capability check

Why I did it

  • To avoid port configuration failures

How I verified it

  1. Run VS tests

Details if related

  • N/A

@nazariig
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nazariig
Copy link
Collaborator Author

@prsunny / @qiluo-msft please help to review & merge

@nazariig nazariig force-pushed the master-pfc-asym-cap branch from 504dc7d to 294d87f Compare October 31, 2023 09:21
@nazariig
Copy link
Collaborator Author

nazariig commented Nov 2, 2023

@prsunny / @qiluo-msft just a kind reminder

@nazariig
Copy link
Collaborator Author

nazariig commented Nov 5, 2023

@prsunny / @qiluo-msft just a kind reminder

dgsudharsan
dgsudharsan previously approved these changes Nov 9, 2023
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
@nazariig nazariig force-pushed the master-pfc-asym-cap branch from b2a967c to 1c8510e Compare November 10, 2023 12:40
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
@prsunny prsunny merged commit 644b227 into sonic-net:master Nov 10, 2023
@dgsudharsan
Copy link
Collaborator

@StormLiangMS Tested on top of 202305 commit sonic-net/sonic-buildimage@40d1159

@StormLiangMS
Copy link
Contributor

hi @dgsudharsan this is an enhancement, let's have it in next release.

@dgsudharsan
Copy link
Collaborator

@StormLiangMS This is not enhancement but a bug fix. If a platform doesn’t support pfc asym, by default SONiC will crash. We added a capability to check if pfc asym is supported before programming the configuration to SAI

StormLiangMS pushed a commit that referenced this pull request Nov 19, 2023
* [portsorch]: Implement port PFC asym capability check.
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.

7 participants