From c37f6ea2c05fc623fbc9145e6109dbf1af44f5d5 Mon Sep 17 00:00:00 2001 From: vmittal-msft <46945843+vmittal-msft@users.noreply.github.com> Date: Thu, 5 Aug 2021 17:02:36 -0700 Subject: [PATCH] Dell Z9332 systems optimized MMU settings for T0/T1 topology (#8341) --- .../DellEMC-Z9332f-M-O16C64/buffers_defaults_t0.j2 | 6 +++--- .../DellEMC-Z9332f-M-O16C64/buffers_defaults_t1.j2 | 6 +++--- .../th3-z9332f-16x400G-64x100G.config.bcm | 1 - .../DellEMC-Z9332f-O32/buffers_defaults_t0.j2 | 8 ++++---- .../DellEMC-Z9332f-O32/buffers_defaults_t1.j2 | 8 ++++---- .../DellEMC-Z9332f-O32/th3-z9332f-32x400G.config.bcm | 1 - 6 files changed, 14 insertions(+), 16 deletions(-) diff --git a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/buffers_defaults_t0.j2 b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/buffers_defaults_t0.j2 index 29bb64904e6c..5ecbe788e3ab 100644 --- a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/buffers_defaults_t0.j2 +++ b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/buffers_defaults_t0.j2 @@ -26,13 +26,13 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { - "size": "66800476", + "size": "66394076", "type": "ingress", "mode": "dynamic", "xoff": "8644128" }, "egress_lossless_pool": { - "size": "66800476", + "size": "55921148", "type": "egress", "mode": "static" } @@ -41,7 +41,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "static_th":"66800476" + "static_th":"66394076" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", diff --git a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/buffers_defaults_t1.j2 b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/buffers_defaults_t1.j2 index 29bb64904e6c..5ecbe788e3ab 100644 --- a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/buffers_defaults_t1.j2 +++ b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/buffers_defaults_t1.j2 @@ -26,13 +26,13 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { - "size": "66800476", + "size": "66394076", "type": "ingress", "mode": "dynamic", "xoff": "8644128" }, "egress_lossless_pool": { - "size": "66800476", + "size": "55921148", "type": "egress", "mode": "static" } @@ -41,7 +41,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "static_th":"66800476" + "static_th":"66394076" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", diff --git a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/th3-z9332f-16x400G-64x100G.config.bcm b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/th3-z9332f-16x400G-64x100G.config.bcm index caab3df1ef78..1a41367d9410 100644 --- a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/th3-z9332f-16x400G-64x100G.config.bcm +++ b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-M-O16C64/th3-z9332f-16x400G-64x100G.config.bcm @@ -31,7 +31,6 @@ max_vp_lags.0=0 tdma_intr_enable=1 tdma_timeout_usec.0=5000000 parity_correction.0=1 -mmu_lossless.0=0 bcm_num_cos=10 default_cpu_tx_queue=7 pktdma_poll_mode_channel_bitmap=1 diff --git a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/buffers_defaults_t0.j2 b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/buffers_defaults_t0.j2 index 94a40d257f6c..7254e841d8b4 100644 --- a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/buffers_defaults_t0.j2 +++ b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/buffers_defaults_t0.j2 @@ -10,13 +10,13 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { - "size": "66435732", + "size": "66394076", "type": "ingress", "mode": "dynamic", - "xoff": "27400374" + "xoff": "27200352" }, "egress_lossless_pool": { - "size": "66435732", + "size": "38462204", "type": "egress", "mode": "static" } @@ -25,7 +25,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "static_th":"66435732" + "static_th":"66394076" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", diff --git a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/buffers_defaults_t1.j2 b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/buffers_defaults_t1.j2 index 94a40d257f6c..7254e841d8b4 100644 --- a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/buffers_defaults_t1.j2 +++ b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/buffers_defaults_t1.j2 @@ -10,13 +10,13 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { - "size": "66435732", + "size": "66394076", "type": "ingress", "mode": "dynamic", - "xoff": "27400374" + "xoff": "27200352" }, "egress_lossless_pool": { - "size": "66435732", + "size": "38462204", "type": "egress", "mode": "static" } @@ -25,7 +25,7 @@ "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "static_th":"66435732" + "static_th":"66394076" }, "egress_lossless_profile": { "pool":"[BUFFER_POOL|egress_lossless_pool]", diff --git a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/th3-z9332f-32x400G.config.bcm b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/th3-z9332f-32x400G.config.bcm index 1376e610b220..a189a8b1731f 100644 --- a/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/th3-z9332f-32x400G.config.bcm +++ b/device/dell/x86_64-dellemc_z9332f_d1508-r0/DellEMC-Z9332f-O32/th3-z9332f-32x400G.config.bcm @@ -31,7 +31,6 @@ max_vp_lags.0=0 tdma_intr_enable=1 tdma_timeout_usec.0=5000000 parity_correction.0=1 -mmu_lossless.0=0 bcm_num_cos=10 default_cpu_tx_queue=7 pktdma_poll_mode_channel_bitmap=1