-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align watermark flow with port configuration (#2672)
This PR fixes the following issue: sonic-net/sonic-buildimage#11219 It's a cherry-pick (with conflicts resolution) for 202205 of the following PR: #2525 - What I did Align watermark flow with port configuration correct the queue, watermark and pg-drop counterpoll functionality according to cli commands - Why I did it the flow before this commit was wrong, when watermark counterpoll was enabled, stats wasn't created in FLEX_COUNTERS_DB and COUNTERS_DB unless enabling queue counterpoll as well. in the same way when pg-drop counterpoll was enabled stats weren't added until watermark was enabled. This is due to the wrong flow where queue and pg maps were generated only when queue or watermark (pg-watermark) key was detected in flexcountersorch.cpp - How I verified it manual testing VS test (updated to reflect current flow) - before this commit only queue was tested regression test
- Loading branch information
1 parent
1bbf725
commit 3aeb4be
Showing
6 changed files
with
388 additions
and
137 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.