db09bef671
- Why I did it A new SKU for MSN4700 Platform i.e. Mellanox-SN4700-V16A96 Requirements: Breakout: Port 1-24: 4x25G(4)[10G,1G] Port 25-28: 2x100G[200G,50G,40G,25G,10G,1G] Port 29-32: 2x200G[100G,50G,40G,25G,10G,1G] Downlinks: 96 (1-24) + 4 (25-28) Uplinks: 4 (29-32) Shared Headroom: Enabled Over Subscribe Ratio: 1:4 Default Topology: T0 Default Cable Length for T1: 5m VxLAN source port range set: No Static Policy Based Hashing Supported: No Additional Details: QoS params: The default ones defined in qos_config.j2 will be applied Small Packet Percentage: Used 50% for traditional buffer model Note: For dynamic model, the value defined in LOSSLESS_TRAFFIC_PATTERN|AZURE|small_packet_percentage is used SKU was drafted under the assumption that the downlink ports uses xcvr's that will only support the first 4 lanes of the physical port they are connected to. Hence for the ports 1-24, the last four lanes are not used Cable Lengths used for generating buffer_defaults_{t0,t1}.j2 values Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
47 lines
1.8 KiB
Django/Jinja
47 lines
1.8 KiB
Django/Jinja
|
|
{#
|
|
Copyright (c) 2022 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.
|
|
#}
|
|
{% set default_cable = '5m' %}
|
|
{%-set ports2cable = {
|
|
'torrouter_server' : '5m',
|
|
'leafrouter_torrouter' : '300m',
|
|
'spinerouter_leafrouter' : '1500m'
|
|
}
|
|
-%}
|
|
{% set ingress_lossless_pool_size = '46415872' %}
|
|
{% set ingress_lossless_pool_xoff = '1982464' %}
|
|
{% set egress_lossless_pool_size = '60817392' %}
|
|
{% set egress_lossy_pool_size = '46415872' %}
|
|
|
|
{% import 'buffers_defaults_objects.j2' as defs with context %}
|
|
|
|
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
|
|
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
|
|
{%- endmacro %}
|
|
|
|
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
|
|
{%- endmacro %}
|
|
|
|
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
|
|
{%- endmacro %}
|
|
|
|
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
|
|
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
|
|
{%- endmacro %}
|