From 550aa0c8e97351c24670796d38567dc908761678 Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Thu, 24 Feb 2022 07:25:28 -0800 Subject: [PATCH] [7260] update buffer configurations (#10077) Why I did it Update 7260 buffer configuration according to 201911 branch tested values. Signed-off-by: Ying Xie ying.xie@microsoft.com --- .../Arista-7260CX3-C64/buffers_defaults_t1.j2 | 16 +++++++++++----- .../Arista-7260CX3-C64/pg_profile_lookup.ini | 12 ++++++------ .../th2-a7260cx3-64-64x100G-t0.config.bcm | 4 ++-- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/buffers_defaults_t1.j2 b/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/buffers_defaults_t1.j2 index 2fff9cbc77..949e632035 100644 --- a/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/buffers_defaults_t1.j2 +++ b/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/buffers_defaults_t1.j2 @@ -10,18 +10,22 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { - "size": "33329088", + {# SS Tab2 Row 71 #} + "size": "33582016", "type": "ingress", "mode": "dynamic", - "xoff": "7827456" + {# SS Tab2 Row 68 #} + "xoff": "8965632" }, "egress_lossy_pool": { - "size": "26663272", + {# SS Tab2 Row 60 #} + "size": "26866112", "type": "egress", "mode": "dynamic" }, "egress_lossless_pool": { - "size": "42349632", + {# SS Tab2 Row 56 #} + "size": "43481152", "type": "egress", "mode": "static" } @@ -30,12 +34,14 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", + {# SS Tab1 Row 9 #} "static_th":"44302336" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", "size":"0", - "static_th":"42349632" + {# SS Tab2 Row 56 #} + "static_th":"43481152" }, "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", diff --git a/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/pg_profile_lookup.ini b/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/pg_profile_lookup.ini index ed0005610b..0e71479fc2 100644 --- a/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/pg_profile_lookup.ini +++ b/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/pg_profile_lookup.ini @@ -1,8 +1,8 @@ # PG lossless profiles. # speed cable size xon xoff threshold xon_offset - 50000 5m 1248 1248 56160 -3 2496 - 100000 5m 1248 1248 96928 -3 2496 - 50000 40m 1248 1248 96096 -3 2496 - 100000 40m 1248 1248 177632 -3 2496 - 50000 300m 1248 1248 141856 -3 2496 - 100000 300m 1248 1248 268736 -3 2496 + 100000 5m 1248 1248 54080 -3 2496 + 100000 40m 1248 1248 59696 -3 2496 + 100000 300m 1248 1248 101088 -3 2496 + 40000 5m 1248 1248 29536 -3 2496 + 40000 40m 1248 1248 31616 -3 2496 + 40000 300m 1248 1248 48256 -3 2496 diff --git a/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/th2-a7260cx3-64-64x100G-t0.config.bcm b/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/th2-a7260cx3-64-64x100G-t0.config.bcm index 52a7a79c20..1fd6162660 100644 --- a/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/th2-a7260cx3-64-64x100G-t0.config.bcm +++ b/device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-C64/th2-a7260cx3-64-64x100G-t0.config.bcm @@ -977,7 +977,7 @@ serdes_preemphasis_46=0x144108 serdes_preemphasis_47=0x103a07 serdes_preemphasis_48=0x194407 serdes_preemphasis_49=0x194407 -serdes_preemphasis_66=0x62f01 +serdes_preemphasis_66=0x43004 serdes_preemphasis_68=0x164308 serdes_preemphasis_69=0x164408 serdes_preemphasis_70=0xe3206 @@ -994,7 +994,7 @@ serdes_preemphasis_80=0x184606 serdes_preemphasis_81=0x184407 serdes_preemphasis_82=0x103706 serdes_preemphasis_83=0x103706 -serdes_preemphasis_100=0x62f01 +serdes_preemphasis_100=0x43004 serdes_preemphasis_102=0x184408 serdes_preemphasis_103=0x184606 serdes_preemphasis_104=0x184606