[Mellanox] Support DSCP remapping in Dual-ToR topo for SN4700-O8V48, update buffers for t0 (#18293)
* [Mellanox] Support DSCP remapping in Dual-ToR topo for SN4700-O8V48, update buffers for t0 Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com> * [Mellanox] Support DSCP remapping in Dual-ToR topo for SN4700-O8V48, update buffers for t0 (fixes after recalculation) Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com> --------- Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
This commit is contained in:
parent
2ccd9e5e0f
commit
2e1410c7b7
@ -1,5 +1,5 @@
|
|||||||
{#
|
{#
|
||||||
Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
|
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
|
||||||
Apache-2.0
|
Apache-2.0
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -14,10 +14,17 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
#}
|
#}
|
||||||
{% set default_cable = '5m' %}
|
{% set default_cable = '5m' %}
|
||||||
|
{%- if ((SYSTEM_DEFAULTS is defined) and ('tunnel_qos_remap' in SYSTEM_DEFAULTS) and (SYSTEM_DEFAULTS['tunnel_qos_remap']['status'] == 'enabled')) -%}
|
||||||
|
{% set ingress_lossless_pool_size = '48168960' %}
|
||||||
|
{% set ingress_lossless_pool_xoff = '5218304' %}
|
||||||
|
{% set egress_lossless_pool_size = '60817392' %}
|
||||||
|
{% set egress_lossy_pool_size = '48168960' %}
|
||||||
|
{%- else -%}
|
||||||
{% set ingress_lossless_pool_size = '49946624' %}
|
{% set ingress_lossless_pool_size = '49946624' %}
|
||||||
{% set ingress_lossless_pool_xoff = '4063232' %}
|
{% set ingress_lossless_pool_xoff = '4063232' %}
|
||||||
{% set egress_lossless_pool_size = '60817392' %}
|
{% set egress_lossless_pool_size = '60817392' %}
|
||||||
{% set egress_lossy_pool_size = '49946624' %}
|
{% set egress_lossy_pool_size = '49946624' %}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
{% import 'buffers_defaults_objects.j2' as defs with context %}
|
{% import 'buffers_defaults_objects.j2' as defs with context %}
|
||||||
|
|
||||||
@ -29,10 +36,18 @@
|
|||||||
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
|
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{%- macro generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) %}
|
||||||
|
{{ defs.generate_queue_buffers_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) }}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
|
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
|
||||||
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
|
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{%- macro generate_pg_profiles_with_extra_lossless_pgs_with_inactive_ports(port_names_active, port_names_extra_pgs, port_names_inactive) %}
|
||||||
|
{{ defs.generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) }}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
|
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
|
||||||
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
|
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
@ -1 +1 @@
|
|||||||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2
|
../../x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64/qos.json.j2
|
Loading…
Reference in New Issue
Block a user