[pbh] [aclorch] Fixed a bug causes by updating the flow-counter value for the PBH rule#2226
Merged
liat-grozovik merged 5 commits intosonic-net:masterfrom Apr 23, 2022
Conversation
nazariig
previously approved these changes
Apr 8, 2022
stepanblyschak
previously approved these changes
Apr 8, 2022
Collaborator
|
@anish-n , please review |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run Azure.sonic-swss |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azpw run coverage.Azure.sonic-swss.amd64 |
Collaborator
|
/AzurePipelines run coverage.Azure.sonic-swss.amd64 |
|
No pipelines are associated with this pull request. |
Contributor
Author
|
/azpw run coverage.Azure.sonic-swss |
Collaborator
|
/AzurePipelines run coverage.Azure.sonic-swss |
|
No pipelines are associated with this pull request. |
Contributor
Author
|
/azpw run Azure.sonic-swss |
Collaborator
|
/AzurePipelines run Azure.sonic-swss |
|
Azure Pipelines successfully started running 1 pipeline(s). |
9822e6e
… counter before updating counter for ACL rule Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
…eview comments Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
53a3cbd to
468cfb6
Compare
Contributor
Author
|
/azpw run Azure.sonic-swss |
Collaborator
|
/AzurePipelines run Azure.sonic-swss |
|
Azure Pipelines successfully started running 1 pipeline(s). |
stepanblyschak
approved these changes
Apr 19, 2022
nazariig
approved these changes
Apr 19, 2022
liat-grozovik
approved these changes
Apr 19, 2022
Collaborator
|
@anish-n kindly reminder to review this PR |
anish-n
approved these changes
Apr 22, 2022
judyjoseph
pushed a commit
that referenced
this pull request
Apr 25, 2022
… for the PBH rule (#2226) - What I did Added the register and deregister functions for the flex counter before updating counters for the ACL rule. - Why I did it Overcome SAI error in case of flow counters disabled and then enabled. - How I verified it Added a UT. Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
5 tasks
preetham-singh
pushed a commit
to preetham-singh/sonic-swss
that referenced
this pull request
Aug 6, 2022
… for the PBH rule (sonic-net#2226) - What I did Added the register and deregister functions for the flex counter before updating counters for the ACL rule. - Why I did it Overcome SAI error in case of flow counters disabled and then enabled. - How I verified it Added a UT. Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Janetxxx
pushed a commit
to Janetxxx/sonic-swss
that referenced
this pull request
Nov 10, 2025
… for the PBH rule (sonic-net#2226) - What I did Added the register and deregister functions for the flex counter before updating counters for the ACL rule. - Why I did it Overcome SAI error in case of flow counters disabled and then enabled. - How I verified it Added a UT. Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
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
Added the register and deregister functions for the flex counter before updating counters for the ACL rule.
Why I did it
Overcome SAI error in case of flow counters disabled and then enabled.
For example:
How I verified it
Added a UT.
Details if related