From e11d27a68e0947e2b04565a407bda3b21024160d Mon Sep 17 00:00:00 2001 From: Ze Gan Date: Wed, 20 Nov 2024 01:55:38 +0800 Subject: [PATCH] [Arista]: Change the TH5 Yaml settings to use 8 UC and 4 MC queues (#19912) [Arista] Change the Yaml settings to use 8 UC and 4 MC queues, as SONIC only uses 8 UC queues. Signed-off-by: Ze Gan --- .../th5-a7060x6-64pe.config.bcm | 46 +++---------------- 1 file changed, 6 insertions(+), 40 deletions(-) diff --git a/device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-256x200G/th5-a7060x6-64pe.config.bcm b/device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-256x200G/th5-a7060x6-64pe.config.bcm index 6c5846adddad..86a5f69963bd 100644 --- a/device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-256x200G/th5-a7060x6-64pe.config.bcm +++ b/device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-256x200G/th5-a7060x6-64pe.config.bcm @@ -1947,7 +1947,7 @@ device: THRESHOLD_MODE: LOSSY_AND_LOSSLESS TM_SCHEDULER_CONFIG: - NUM_MC_Q: NUM_MC_Q_2 + NUM_MC_Q: NUM_MC_Q_4 ... @@ -2144,7 +2144,7 @@ device: TM_PORT_MC_Q_TO_SERVICE_POOL: ? PORT_ID: [[1,8], [11,18], [21,29], [33,40], [43,51], [55,62], [65,73], [76,84], [87,95], [99,106], [109,117], [121,128], [131,139], [143,150], [153,161], [165,172], [175,183], [187,194], [197,205], [209,216], [219,227], [231,238], [241,249], [253,260], [263,271], [274,282], [285,293], [297,304], [307,315], [319,326], [329,337], [341,348], 351] - TM_MC_Q_ID: [[0,1]] + TM_MC_Q_ID: [[0,3]] : USE_QGROUP_MIN: 0 @@ -2161,7 +2161,7 @@ device: ? # uplink, downlink and loopback ports, 2 MC queues PORT_ID: [[1,8], [11,18], [21,29], [33,40], [43,51], [55,62], [65,73], [76,84], [87,95], [99,106], [109,117], [121,128], [131,139], [143,150], [153,161], [165,172], [175,183], [187,194], [197,205], [209,216], [219,227], [231,238], [241,249], [253,260], [263,271], [274,282], [285,293], [297,304], [307,315], [319,326], [329,337], [341,348], 351] - TM_MC_Q_ID: [[0,1]] + TM_MC_Q_ID: [[0,3]] : MIN_GUARANTEE_CELLS: 0 SHARED_LIMITS: 1 @@ -2622,7 +2622,7 @@ device: TM_PORT_UC_Q_TO_SERVICE_POOL: ? PORT_ID: [[1,8], [11,18], [21,29], [33,40], [43,51], [55,62], [65,73], [76,84], [87,95], [99,106], [109,117], [121,128], [131,139], [143,150], [153,161], [165,172], [175,183], [187,194], [197,205], [209,216], [219,227], [231,238], [241,249], [253,260], [263,271], [274,282], [285,293], [297,304], [307,315], [319,326], [329,337], [341,348], 351] - TM_UC_Q_ID: [0,1,2,5,6,8,9] + TM_UC_Q_ID: [0,1,2,5,6] : USE_QGROUP_MIN: 0 TM_EGR_SERVICE_POOL_ID: 0 @@ -2648,7 +2648,7 @@ device: TM_EGR_SERVICE_POOL_ID: 1 ? PORT_ID: [[1,8], [11,18], [21,29], [33,40], [43,51], [55,62], [65,73], [76,84], [87,95], [99,106], [109,117], [121,128], [131,139], [143,150], [153,161], [165,172], [175,183], [187,194], [197,205], [209,216], [219,227], [231,238], [241,249], [253,260], [263,271], [274,282], [285,293], [297,304], [307,315], [319,326], [329,337], [341,348], 351] - TM_MC_Q_ID: [[0,1]] + TM_MC_Q_ID: [[0,3]] : USE_QGROUP_MIN: 0 TM_EGR_SERVICE_POOL_ID: 0 @@ -2676,23 +2676,6 @@ device: YELLOW_LIMIT_DYNAMIC: PERCENTAGE_750 RED_LIMIT_CELLS_STATIC: 0 RED_LIMIT_DYNAMIC: PERCENTAGE_625 - ? - PORT_ID: [[1,8], [11,18], [22,29], [33,40], [44,51], [55,62], [66,73], [77,84], [88,95], [99,106], [110,117], [121,128], [132,139], [143,150], [154,161], [165,172]] - TM_UC_Q_ID: [8,9] - : - MIN_GUARANTEE_CELLS: 0 - SHARED_LIMITS: 1 - DYNAMIC_SHARED_LIMITS: 1 - SHARED_LIMIT_CELLS_STATIC: 0 - SHARED_LIMIT_DYNAMIC: ALPHA_1 - DYNAMIC_GROUP: MID_PRI_GROUP - RESUME_OFFSET_CELLS: 2 - COLOR_SPECIFIC_LIMITS: 0 - COLOR_SPECIFIC_DYNAMIC_LIMITS: 0 - YELLOW_LIMIT_CELLS_STATIC: 0 - YELLOW_LIMIT_DYNAMIC: PERCENTAGE_750 - RED_LIMIT_CELLS_STATIC: 0 - RED_LIMIT_DYNAMIC: PERCENTAGE_625 ? PORT_ID: [[1,8], [11,18], [22,29], [33,40], [44,51], [55,62], [66,73], [77,84], [88,95], [99,106], [110,117], [121,128], [132,139], [143,150], [154,161], [165,172]] TM_UC_Q_ID: [3,4] @@ -2724,23 +2707,6 @@ device: YELLOW_LIMIT_DYNAMIC: PERCENTAGE_750 RED_LIMIT_CELLS_STATIC: 0 RED_LIMIT_DYNAMIC: PERCENTAGE_625 - ? - PORT_ID: [[176,183], [187,194], [198,205], [209,216], [220,227], [231,238], [242,249], [253,260], [264,271], [275,282], [286,293], [297,304], [308,315], [319,326], [330,337], [341,348]] - TM_UC_Q_ID: [8,9] - : - MIN_GUARANTEE_CELLS: 0 - SHARED_LIMITS: 1 - DYNAMIC_SHARED_LIMITS: 1 - SHARED_LIMIT_CELLS_STATIC: 0 - SHARED_LIMIT_DYNAMIC: ALPHA_1 - DYNAMIC_GROUP: MID_PRI_GROUP - RESUME_OFFSET_CELLS: 2 - COLOR_SPECIFIC_LIMITS: 0 - COLOR_SPECIFIC_DYNAMIC_LIMITS: 0 - YELLOW_LIMIT_CELLS_STATIC: 0 - YELLOW_LIMIT_DYNAMIC: PERCENTAGE_750 - RED_LIMIT_CELLS_STATIC: 0 - RED_LIMIT_DYNAMIC: PERCENTAGE_625 ? PORT_ID: [[176,183], [187,194], [198,205], [209,216], [220,227], [231,238], [242,249], [253,260], [264,271], [275,282], [286,293], [297,304], [308,315], [319,326], [330,337], [341,348]] TM_UC_Q_ID: [3,4] @@ -2778,7 +2744,7 @@ device: RESUME_OFFSET_CELLS: 2 ? PORT_ID: [[1,8], [11,18], [21,29], [33,40], [43,51], [55,62], [65,73], [76,84], [87,95], [99,106], [109,117], [121,128], [131,139], [143,150], [153,161], [165,172], [175,183], [187,194], [197,205], [209,216], [219,227], [231,238], [241,249], [253,260], [263,271], [274,282], [285,293], [297,304], [307,315], [319,326], [329,337], [341,348], 351] - TM_MC_Q_ID: [0,1] + TM_MC_Q_ID: [0,3] SHARED_LIMIT_DYNAMIC: ALPHA_2 : SHARED_LIMITS: 1