Add pfc_stat_history support#4102
Merged
xincunli-sonic merged 3 commits intosonic-net:masterfrom Oct 25, 2025
Merged
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
r12f
previously approved these changes
Oct 24, 2025
kperumalbfn
reviewed
Oct 24, 2025
| patch_element = { | ||
| "path": "/PFC_WD/Ethernet8/pfc_stat_history", | ||
| "op": "replace", | ||
| "value": "100" |
Contributor
There was a problem hiding this comment.
pfc_stat_history options are enable/disable, could you check?
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
r12f
approved these changes
Oct 25, 2025
|
since this change (sonic-net/sonic-buildimage#21848) is not in 202412, removing 202412 tag for this PR. |
gordon-nexthop
pushed a commit
to nexthop-ai/sonic-utilities
that referenced
this pull request
Nov 25, 2025
* Add pfc_stat_history support * fix pfc_stat_history value
YairRaviv
pushed a commit
to YairRaviv/sonic-utilities
that referenced
this pull request
Jan 12, 2026
* Add pfc_stat_history support * fix pfc_stat_history value
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.
What I did
Add modification of pfc_stat_history support for PFC_WD table.
In this change (sonic-net/sonic-buildimage#21848), the pfc_stat_history field was introduced. However, the update did not include a corresponding modification to gcu_field_operation_validators.conf.json, which defines the allowed fields and operations for the PFC_WD table.
How I did it
Add pfc_stat_history to gcu_field_operation_validators.conf.json.
How to verify it
Starlab test.
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)