From 04a655b0bc2e535e0a57803c00276e7c40eba4b0 Mon Sep 17 00:00:00 2001 From: rck-innovium Date: Sun, 7 Feb 2021 23:57:28 -0800 Subject: [PATCH] Fix watermark stat display title as "Buffer Pool" instead of "Shared Pool" --- scripts/watermarkstat | 2 +- tests/wm_input/wm_test_vectors.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/watermarkstat b/scripts/watermarkstat index bae72821c7..3d313204ff 100755 --- a/scripts/watermarkstat +++ b/scripts/watermarkstat @@ -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:", diff --git a/tests/wm_input/wm_test_vectors.py b/tests/wm_input/wm_test_vectors.py index a5314b1fe6..afb69a7a1a 100644 --- a/tests/wm_input/wm_test_vectors.py +++ b/tests/wm_input/wm_test_vectors.py @@ -62,7 +62,7 @@ """ show_buffer_pool_wm_output="""\ -Shared pool maximum occupancy: +Buffer pool maximum occupancy: Pool Bytes --------------------- ------- egress_lossless_pool 1000 @@ -71,7 +71,7 @@ """ show_buffer_pool_persistent_wm_output="""\ -Shared pool maximum occupancy: +Buffer pool maximum occupancy: Pool Bytes --------------------- ------- egress_lossless_pool 2000