diff --git a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t0.j2 b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t0.j2 index 2511328510..97c026b1e4 100644 --- a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t0.j2 +++ b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t0.j2 @@ -30,7 +30,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"3" + "static_th":"32732160" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", @@ -40,7 +40,7 @@ "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", "size":"1792", - "dynamic_th":"-1" + "dynamic_th":"3" } }, {%- endmacro %} diff --git a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t1.j2 b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t1.j2 index f5b7327e70..4e8d7ed881 100644 --- a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t1.j2 +++ b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t1.j2 @@ -30,7 +30,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"3" + "static_th":"32712448" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", @@ -40,7 +40,7 @@ "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", "size":"1792", - "dynamic_th":"-1" + "dynamic_th":"3" } }, {%- endmacro %} diff --git a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/pg_profile_lookup.ini b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/pg_profile_lookup.ini index e30c3aeae2..dd405301f7 100644 --- a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/pg_profile_lookup.ini +++ b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/pg_profile_lookup.ini @@ -1,8 +1,8 @@ # PG lossless profiles. # speed cable size xon xoff threshold xon_offset - 50000 5m 4608 4608 33792 -3 4608 - 100000 5m 4608 4608 49408 -3 4608 - 50000 40m 4608 4608 36352 -3 4608 - 100000 40m 4608 4608 54528 -3 4608 - 50000 300m 4608 4608 55296 -3 4608 - 100000 300m 4608 4608 92672 -3 4608 + 50000 5m 4608 4608 33792 0 4608 + 100000 5m 4608 4608 49408 0 4608 + 50000 40m 4608 4608 36352 0 4608 + 100000 40m 4608 4608 54528 0 4608 + 50000 300m 4608 4608 55296 0 4608 + 100000 300m 4608 4608 92672 0 4608 diff --git a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/buffers_defaults_t0.j2 b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/buffers_defaults_t0.j2 index 1e0b3ae79e..2470ff8b98 100644 --- a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/buffers_defaults_t0.j2 +++ b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/buffers_defaults_t0.j2 @@ -31,7 +31,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"3" + "static_th":"32689152" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", @@ -41,7 +41,7 @@ "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", "size":"1792", - "dynamic_th":"-1" + "dynamic_th":"3" } }, {%- endmacro %} diff --git a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/pg_profile_lookup.ini b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/pg_profile_lookup.ini index 44880400d0..8ee7a6714b 100644 --- a/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/pg_profile_lookup.ini +++ b/device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/pg_profile_lookup.ini @@ -1,8 +1,8 @@ # PG lossless profiles. # speed cable size xon xoff threshold xon_offset - 50000 5m 4608 4608 79872 -3 4608 - 100000 5m 4608 4608 54528 -3 4608 - 50000 40m 4608 4608 39936 -3 4608 - 100000 40m 4608 4608 60416 -3 4608 - 50000 300m 4608 4608 61440 -3 4608 - 100000 300m 4608 4608 103680 -3 4608 + 50000 5m 4608 4608 79872 0 4608 + 100000 5m 4608 4608 54528 0 4608 + 50000 40m 4608 4608 39936 0 4608 + 100000 40m 4608 4608 60416 0 4608 + 50000 300m 4608 4608 61440 0 4608 + 100000 300m 4608 4608 103680 0 4608 diff --git a/src/sonic-config-engine/tests/sample_output/py3/buffer-arista7050cx3-dualtor-remap-disabled.json b/src/sonic-config-engine/tests/sample_output/py3/buffer-arista7050cx3-dualtor-remap-disabled.json index 2992ecacc3..7a5fb4589f 100644 --- a/src/sonic-config-engine/tests/sample_output/py3/buffer-arista7050cx3-dualtor-remap-disabled.json +++ b/src/sonic-config-engine/tests/sample_output/py3/buffer-arista7050cx3-dualtor-remap-disabled.json @@ -83,7 +83,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"3" + "static_th":"32689152" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", @@ -93,7 +93,7 @@ "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", "size":"1792", - "dynamic_th":"-1" + "dynamic_th":"3" } }, "BUFFER_PG": { diff --git a/src/sonic-config-engine/tests/sample_output/py3/buffer-arista7050cx3-dualtor.json b/src/sonic-config-engine/tests/sample_output/py3/buffer-arista7050cx3-dualtor.json index 55da03e625..01b927f861 100644 --- a/src/sonic-config-engine/tests/sample_output/py3/buffer-arista7050cx3-dualtor.json +++ b/src/sonic-config-engine/tests/sample_output/py3/buffer-arista7050cx3-dualtor.json @@ -82,7 +82,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"3" + "static_th":"32689152" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", @@ -92,7 +92,7 @@ "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", "size":"1792", - "dynamic_th":"-1" + "dynamic_th":"3" } }, "BUFFER_PG": {