Skip to content

Commit

Permalink
Fix watermark stat display title as "Buffer Pool" instead of "Shared …
Browse files Browse the repository at this point in the history
…Pool"
  • Loading branch information
rck-innovium committed Feb 8, 2021
1 parent 2ad1168 commit 04a655b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 04a655b

Please sign in to comment.