[Mellanox] Adjust buffer parameters with 2km cable supported for 4600C non-generic SKUs (#9215)

- Why I did it
Also recalculated all parameters with the latest algorithm with per-speed peer response time taken into account

- How I did it
Detailed information of each SKU:

C64:
t0: 32 100G downlinks and 32 100G uplinks
t1: 56 100G downlinks and 8 100G uplinks with 2km-cable supported
D112C8: 112 50G downlinks and 8 100G uplinks.
D48C40: 48 50G downlinks, 32 100G downlinks, and 8 100G uplinks
D100C12S2: 4 100G downlinks, 2 10G downlinks, 100 50G downlinks, and 8 100G uplinks
2km cable is supported for C64 on t1 only

- How to verify it
Run regression test (QoS)

Signed-off-by: Stephen Sun <stephens@nvidia.com>
This commit is contained in:
Stephen Sun 2021-12-08 21:51:33 +08:00 committed by Judy Joseph
parent 1aff549573
commit 646a886a11
9 changed files with 41 additions and 41 deletions

View File

@ -15,10 +15,10 @@
limitations under the License.
#}
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '53379072' %}
{% set ingress_lossless_xoff_size = '1540096' %}
{% set ingress_lossless_pool_size = '49905664' %}
{% set ingress_lossless_xoff_size = '3702784' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '53379072' %}
{% set egress_lossy_pool_size = '49905664' %}
{% import 'buffers_defaults_objects.j2' as defs with context %}

View File

@ -15,10 +15,10 @@
limitations under the License.
#}
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '52723712' %}
{% set ingress_lossless_xoff_size = '2195456' %}
{% set ingress_lossless_pool_size = '48332800' %}
{% set ingress_lossless_xoff_size = '5275648' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '52723712' %}
{% set egress_lossy_pool_size = '48332800' %}
{% import 'buffers_defaults_objects.j2' as defs with context %}

View File

@ -16,10 +16,10 @@
#}
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '48228352' %}
{% set ingress_lossless_xoff_size = '2287616' %}
{% set ingress_lossless_pool_size = '44566528' %}
{% set ingress_lossless_xoff_size = '3614720' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '48228352' %}
{% set egress_lossy_pool_size = '44566528' %}
{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}

View File

@ -16,10 +16,10 @@
#}
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '46315520' %}
{% set ingress_lossless_xoff_size = '4200448' %}
{% set ingress_lossless_pool_size = '43794432' %}
{% set ingress_lossless_xoff_size = '4386816' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '46315520' %}
{% set egress_lossy_pool_size = '43794432' %}
{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}

View File

@ -15,10 +15,10 @@
limitations under the License.
#}
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '47587328' %}
{% set ingress_lossless_xoff_size = '2400256' %}
{% set ingress_lossless_pool_size = '43827200' %}
{% set ingress_lossless_xoff_size = '3702784' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '47587328' %}
{% set egress_lossy_pool_size = '43827200' %}
{% import 'buffers_defaults_objects.j2' as defs with context %}

View File

@ -15,10 +15,10 @@
limitations under the License.
#}
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '46702592' %}
{% set ingress_lossless_xoff_size = '3284992' %}
{% set ingress_lossless_pool_size = '43048960' %}
{% set ingress_lossless_xoff_size = '4481024' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '46702592' %}
{% set egress_lossy_pool_size = '43048960' %}
{% import 'buffers_defaults_objects.j2' as defs with context %}

View File

@ -17,22 +17,22 @@
# PG lossless profiles.
# speed cable size xon xoff threshold
10000 5m 19456 19456 24576 0
25000 5m 19456 19456 24576 0
40000 5m 19456 19456 24576 0
50000 5m 19456 19456 24576 0
100000 5m 19456 19456 25600 0
10000 40m 19456 19456 24576 0
25000 40m 19456 19456 26624 0
40000 40m 19456 19456 27648 0
50000 40m 19456 19456 28672 0
100000 40m 19456 19456 32768 0
25000 5m 19456 19456 26624 0
40000 5m 19456 19456 30720 0
50000 5m 19456 19456 33792 0
100000 5m 19456 19456 59392 0
10000 40m 19456 19456 25600 0
25000 40m 19456 19456 28672 0
40000 40m 19456 19456 33792 0
50000 40m 19456 19456 36864 0
100000 40m 19456 19456 66560 0
10000 300m 19456 19456 30720 0
25000 300m 19456 19456 39936 0
40000 300m 19456 19456 49152 0
50000 300m 19456 19456 55296 0
100000 300m 19456 19456 86016 0
25000 300m 19456 19456 41984 0
40000 300m 19456 19456 54272 0
50000 300m 19456 19456 63488 0
100000 300m 19456 19456 120832 0
10000 2000m 19456 19456 32768 0
25000 2000m 19456 19456 63488 0
40000 2000m 19456 19456 94208 0
50000 2000m 19456 19456 114688 0
100000 2000m 19456 19456 217088 0
25000 2000m 19456 19456 64512 0
40000 2000m 19456 19456 97280 0
50000 2000m 19456 19456 119808 0
100000 2000m 19456 19456 234496 0

View File

@ -15,10 +15,10 @@
limitations under the License.
#}
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '50995200' %}
{% set ingress_lossless_xoff_size = '1810432' %}
{% set ingress_lossless_pool_size = '47398912' %}
{% set ingress_lossless_xoff_size = '3604480' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '50995200' %}
{% set egress_lossy_pool_size = '47398912' %}
{% import 'buffers_defaults_objects.j2' as defs with context %}

View File

@ -15,10 +15,10 @@
limitations under the License.
#}
{% set default_cable = '5m' %}
{% set ingress_lossless_pool_size = '50143232' %}
{% set ingress_lossless_xoff_size = '2662400' %}
{% set ingress_lossless_pool_size = '46587904' %}
{% set ingress_lossless_xoff_size = '4415488' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '50143232' %}
{% set egress_lossy_pool_size = '46587904' %}
{% import 'buffers_defaults_objects.j2' as defs with context %}