Skip to content

Fix watermark stat display title as "Buffer Pool" instead of "Shared Pool" #1322

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/watermarkstat
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class Watermarkstat(object):
"idx_func": self.get_queue_index,
"wm_name" : "SAI_QUEUE_STAT_SHARED_WATERMARK_BYTES",
"header_prefix": "MC"},
"buffer_pool" : {"message": "Shared pool maximum occupancy:",
"buffer_pool" : {"message": "Buffer pool maximum occupancy:",
"wm_name": "SAI_BUFFER_POOL_STAT_WATERMARK_BYTES",
"header" : headerBufferPool},
"headroom_pool" : {"message": "Headroom pool maximum occupancy:",
Expand Down
4 changes: 2 additions & 2 deletions tests/wm_input/wm_test_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"""

show_buffer_pool_wm_output="""\
Shared pool maximum occupancy:
Buffer pool maximum occupancy:
Pool Bytes
--------------------- -------
egress_lossless_pool 1000
Expand All @@ -71,7 +71,7 @@
"""

show_buffer_pool_persistent_wm_output="""\
Shared pool maximum occupancy:
Buffer pool maximum occupancy:
Pool Bytes
--------------------- -------
egress_lossless_pool 2000
Expand Down