Add stat_custom_receive0_management_mode to the Broadcom config file of TH5 platforms#22825
Merged
kperumalbfn merged 6 commits intosonic-net:masterfrom Jun 5, 2025
Merged
Conversation
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
12 tasks
r12f
approved these changes
Jun 3, 2025
Contributor
Contributor
|
Fix is already merged: #18947. |
Contributor
|
/azp run |
|
Commenter does not have sufficient privileges for PR 22825 in repo sonic-net/sonic-buildimage |
Contributor
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
Rebased and updated releases to backport |
Contributor
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
12 tasks
Collaborator
|
Cherry-pick PR to msft-202503: Azure/sonic-buildimage-msft#1206 |
Contributor
|
@kewei-arista please fix conflict and create PR to 202505 branch |
9 tasks
Contributor
Author
@yejianquan PR to 202505 branch: #22873 |
Contributor
|
hi @kewei-arista could you check 202412 conflict? |
r12f
pushed a commit
to Azure/sonic-buildimage-msft
that referenced
this pull request
Jun 11, 2025
…of TH5 platforms (#1203) <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md ** Make sure all your commits include a signature generated with `git commit -s` ** If this is a bug fix, make sure your description includes "fixes #xxxx", or "closes #xxxx" or "resolves #xxxx" Please provide the following information: --> #### Why I did it Cherry pick changes from sonic-net/sonic-buildimage#22825 ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it #### How to verify it <!-- If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012. --> #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 - [ ] 202211 #### Tested branch (Please provide the tested image version) <!-- - Please provide tested image version - e.g. - [x] 20201231.100 --> - [ ] <!-- image version 1 --> - [ ] <!-- image version 2 --> #### Description for the changelog <!-- Write a short (one line) summary that describes the changes in this pull request for inclusion in the changelog: --> <!-- Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU. --> #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md --> #### A picture of a cute animal (not mandatory but encouraged)
10 tasks
StormLiangMS
pushed a commit
that referenced
this pull request
Jul 7, 2025
… config file (#22998) Why I did it Recently we added stat_custom_receive0_management_mode config to TH5 Broadcom config files, and the changes upstreamed in #22825. There's a separate PR created to add new HWSKU Arista-7060X6-64PE-B-O128 around the same time, see #22672 As a result, stat_custom_receive0_management_mode was missed in Arista-7060X6-64PE-B-O128 config file. This change adds it. Work item tracking Microsoft ADO (number only): How I did it How to verify it Verified all interfaces are up with this change when using Arista-7060X6-64PE-B-O128
mssonicbld
added a commit
to mssonicbld/sonic-buildimage-msft
that referenced
this pull request
Jul 7, 2025
… config file
… config file
<!--
Please make sure you've read and understood our contributing guidelines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
** Make sure all your commits include a signature generated with `git commit -s` **
If this is a bug fix, make sure your description includes "fixes #xxxx", or
"closes #xxxx" or "resolves #xxxx"
Please provide the following information:
-->
#### Why I did it
Recently we added stat_custom_receive0_management_mode config to TH5 Broadcom config files, and the changes upstreamed in sonic-net/sonic-buildimage#22825.
There's a separate PR created to add new HWSKU Arista-7060X6-64PE-B-O128
around the same time, see sonic-net/sonic-buildimage#22672
As a result, stat_custom_receive0_management_mode was missed in Arista-7060X6-64PE-B-O128 config file. This change adds it.
##### Work item tracking
- Microsoft ADO **(number only)**:
#### How I did it
#### How to verify it
Verified all interfaces are up with this change when using Arista-7060X6-64PE-B-O128
<!--
If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012.
-->
#### Which release branch to backport (provide reason below if selected)
<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->
- [ ] 202205
- [ ] 202211
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [x] msft-202412
- [x] msft-202503
- [x] 202505
#### Tested branch (Please provide the tested image version)
<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->
- [x] msft-202412
#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->
<!--
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
-->
#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->
#### A picture of a cute animal (not mandatory but encouraged)
10 tasks
mssonicbld
added a commit
to mssonicbld/sonic-buildimage
that referenced
this pull request
Jul 7, 2025
… config file
… config file
<!--
Please make sure you've read and understood our contributing guidelines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
** Make sure all your commits include a signature generated with `git commit -s` **
If this is a bug fix, make sure your description includes "fixes #xxxx", or
"closes #xxxx" or "resolves #xxxx"
Please provide the following information:
-->
#### Why I did it
Recently we added stat_custom_receive0_management_mode config to TH5 Broadcom config files, and the changes upstreamed in sonic-net#22825.
There's a separate PR created to add new HWSKU Arista-7060X6-64PE-B-O128
around the same time, see sonic-net#22672
As a result, stat_custom_receive0_management_mode was missed in Arista-7060X6-64PE-B-O128 config file. This change adds it.
##### Work item tracking
- Microsoft ADO **(number only)**:
#### How I did it
#### How to verify it
Verified all interfaces are up with this change when using Arista-7060X6-64PE-B-O128
<!--
If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012.
-->
#### Which release branch to backport (provide reason below if selected)
<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->
- [ ] 202205
- [ ] 202211
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [x] msft-202412
- [x] msft-202503
- [x] 202505
#### Tested branch (Please provide the tested image version)
<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->
- [x] msft-202412
#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->
<!--
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
-->
#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->
#### A picture of a cute animal (not mandatory but encouraged)
10 tasks
mssonicbld
added a commit
that referenced
this pull request
Jul 9, 2025
… config file (#23243) … config file <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md failure_prs.log skip_prs.log Make sure all your commits include a signature generated with `git commit -s` ** If this is a bug fix, make sure your description includes "fixes #xxxx", or "closes #xxxx" or "resolves #xxxx" Please provide the following information: --> #### Why I did it Recently we added stat_custom_receive0_management_mode config to TH5 Broadcom config files, and the changes upstreamed in #22825. There's a separate PR created to add new HWSKU Arista-7060X6-64PE-B-O128 around the same time, see #22672 As a result, stat_custom_receive0_management_mode was missed in Arista-7060X6-64PE-B-O128 config file. This change adds it. ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it #### How to verify it Verified all interfaces are up with this change when using Arista-7060X6-64PE-B-O128 <!-- If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012. --> #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 202205 - [ ] 202211 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [x] msft-202412 - [x] msft-202503 - [x] 202505 #### Tested branch (Please provide the tested image version) <!-- - Please provide tested image version - e.g. - [x] 20201231.100 --> - [x] msft-202412 #### Description for the changelog <!-- Write a short (one line) summary that describes the changes in this pull request for inclusion in the changelog: --> <!-- Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU. --> #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md --> #### A picture of a cute animal (not mandatory but encouraged)
dakotac-arista
pushed a commit
to dakotac-arista/sonic-buildimage
that referenced
this pull request
Jul 9, 2025
…of TH5 platforms (sonic-net#22825) Add stat_custom_receive0_management_mode to the Broadcom config file of TH5 platforms
r12f
pushed a commit
to Azure/sonic-buildimage-msft
that referenced
this pull request
Jul 9, 2025
…a-7060X6-64PE-B-O128 config file (#1321) … config file <!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md ** Make sure all your commits include a signature generated with `git commit -s` ** If this is a bug fix, make sure your description includes "fixes #xxxx", or "closes #xxxx" or "resolves #xxxx" Please provide the following information: --> #### Why I did it Recently we added stat_custom_receive0_management_mode config to TH5 Broadcom config files, and the changes upstreamed in sonic-net/sonic-buildimage#22825. There's a separate PR created to add new HWSKU Arista-7060X6-64PE-B-O128 around the same time, see sonic-net/sonic-buildimage#22672 As a result, stat_custom_receive0_management_mode was missed in Arista-7060X6-64PE-B-O128 config file. This change adds it. ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it #### How to verify it Verified all interfaces are up with this change when using Arista-7060X6-64PE-B-O128 <!-- If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012. --> #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 202205 - [ ] 202211 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [x] msft-202412 - [x] msft-202503 - [x] 202505 #### Tested branch (Please provide the tested image version) <!-- - Please provide tested image version - e.g. - [x] 20201231.100 --> - [x] msft-202412 #### Description for the changelog <!-- Write a short (one line) summary that describes the changes in this pull request for inclusion in the changelog: --> <!-- Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU. --> #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md --> #### A picture of a cute animal (not mandatory but encouraged)
yejianquan
pushed a commit
that referenced
this pull request
Jul 11, 2025
* [Arista] Add HWSKU Arista-7060X6-64PE-B-P64 (#22734) * Add qspf TH5-512 HWSKU Arista-7060X6-64PE-B-P64 * [Arista] Add HWSKU Arista-7060X6-64PE-B-P32O64 (#22732) [Arista] Add HWSKU Arista-7060X6-64PE-B-P32O64 * Add stat_custom_receive0_management_mode to the Broadcom config file of TH5 platforms (#22825) Add stat_custom_receive0_management_mode to the Broadcom config file of TH5 platforms * [Arista][DT2] Add QoS to Arista-7060X6-64PE-B-P32O64 (#22836) Why I did it Add QoS settings from CSP to TH5-512 HWSKU Arista-7060X6-64PE-B-P32O64 How to verify it Sanitized a fully wired DUT and confirmed all links came up. * [Arista][DT2] Add QoS to Arista-7060X6-64PE-B-P64 (#22837) Why I did it Add QoS settings from CSP to TH5-512 HWSKU Arista-7060X6-64PE-B-P64 How to verify it Sanitized a fully wired DUT and confirmed all links came up. * Enable srv6 on TH5 (#23018) Why I did it Enable srv6 on TH5 * Set ENABLE to 0 for TH5 platform (#23125) Why I did it Fixed aristanetworks/sonic-qual.msft#645 How I did it Update bcm config to set ENABLE to 0. How to verify it The change is verified by modifying the bcm config and checking if all ports can be up. --------- Co-authored-by: kewei-arista <[email protected]> Co-authored-by: Dayou Liu <[email protected]> Co-authored-by: bingwang-ms <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Why I did it
There's an upgrade in SAI / SDK so that we need to add
stat_custom_receive0_management_modeto config files of TH5 products. Plesae see Broadcom article "SDK - API Behavior Change - Statistics counter: snmpBcmCustomReceive0 is reserved" (ID: 26564) for more details.Without this change, we'll see
orchagentcrashing with following errors:Work item tracking
How I did it
Update the Broadcom config files based on the suggestion provided by Broadcom
How to verify it
We verified the crash is fixed with this patch, and running
sonic-mgmtwith this patch.Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)