2021-10-17 11:03:02 -05:00
|
|
|
{#
|
|
|
|
Copyright (c) 2018-2021 NVIDIA CORPORATION & AFFILIATES.
|
|
|
|
Apache-2.0
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
#}
|
2021-06-17 12:04:38 -05:00
|
|
|
{% set default_cable = '5m' %}
|
|
|
|
{% set ingress_lossless_pool_size = '52723712' %}
|
2021-07-29 10:21:28 -05:00
|
|
|
{% set ingress_lossless_xoff_size = '2195456' %}
|
|
|
|
{% set egress_lossless_pool_size = '60817392' %}
|
2021-06-17 12:04:38 -05:00
|
|
|
{% set egress_lossy_pool_size = '52723712' %}
|
|
|
|
|
2021-11-29 10:04:01 -06:00
|
|
|
{% import 'buffers_defaults_objects.j2' as defs with context %}
|
2021-06-17 12:04:38 -05:00
|
|
|
|
2021-11-29 10:04:01 -06:00
|
|
|
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
|
|
|
|
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
|
2021-06-17 12:04:38 -05:00
|
|
|
{%- endmacro %}
|
|
|
|
|
2021-11-29 10:04:01 -06:00
|
|
|
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
|
|
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
|
2021-06-17 12:04:38 -05:00
|
|
|
{%- endmacro %}
|
|
|
|
|
2021-11-29 10:04:01 -06:00
|
|
|
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
|
|
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
|
2021-06-17 12:04:38 -05:00
|
|
|
{%- endmacro %}
|
|
|
|
|
2021-11-29 10:04:01 -06:00
|
|
|
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
|
|
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
|
|
|
|
{%- endmacro %}
|