Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{#
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_topo = 't0' %}
{%- include 'buffers_config.j2' %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{#
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 ingress_lossless_pool_size = '6822912' %}
{% set ingress_lossless_pool_xoff = '999424' %}
{% set egress_lossless_pool_size = '13945824' %}
{% set egress_lossy_pool_size = '6822912' %}

{% 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 %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{#
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 = '300m' %}
{% set ingress_lossless_pool_size = '6282240' %}
{% set ingress_lossless_pool_xoff = '1540096' %}
{% set egress_lossless_pool_size = '13945824' %}
{% set egress_lossy_pool_size = '6282240' %}

{% 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 %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{#
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_topo = 't0' %}
{%- set dynamic_mode = 'true' %}
{%- include 'buffers_config.j2' %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet4": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet8": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet10": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet12": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet14": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet16": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet18": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet20": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet22": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet24": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet28": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet32": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet36": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet40": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet42": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet44": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet46": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet48": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet50": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet52": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet54": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet56": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet58": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet60": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet62": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet64": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet66": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet68": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet70": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet72": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet74": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet76": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet78": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet80": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet82": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet84": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet86": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet88": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet92": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet96": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet100": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet104": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet106": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet108": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet110": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet112": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet114": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet116": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet118": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet120": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet122": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet124": {
"default_brkout_mode": "2x50G[25G,10G]"
},
"Ethernet126": {
"default_brkout_mode": "2x50G[25G,10G]"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# name lanes alias index speed
Ethernet0 0,1,2,3 etp1 1 100000
Ethernet4 4,5,6,7 etp2 2 100000
Ethernet8 8,9 etp3a 3 50000
Ethernet10 10,11 etp3b 3 50000
Ethernet12 12,13 etp4a 4 50000
Ethernet14 14,15 etp4b 4 50000
Ethernet16 16,17 etp5a 5 50000
Ethernet18 18,19 etp5b 5 50000
Ethernet20 20,21 etp6a 6 50000
Ethernet22 22,23 etp6b 6 50000
Ethernet24 24,25,26,27 etp7 7 100000
Ethernet28 28,29,30,31 etp8 8 100000
Ethernet32 32,33,34,35 etp9 9 100000
Ethernet36 36,37,38,39 etp10 10 100000
Ethernet40 40,41 etp11a 11 50000
Ethernet42 42,43 etp11b 11 50000
Ethernet44 44,45 etp12a 12 50000
Ethernet46 46,47 etp12b 12 50000
Ethernet48 48,49 etp13a 13 50000
Ethernet50 50,51 etp13b 13 50000
Ethernet52 52,53 etp14a 14 50000
Ethernet54 54,55 etp14b 14 50000
Ethernet56 56,57 etp15a 15 50000
Ethernet58 58,59 etp15b 15 50000
Ethernet60 60,61 etp16a 16 50000
Ethernet62 62,63 etp16b 16 50000
Ethernet64 64,65 etp17a 17 50000
Ethernet66 66,67 etp17b 17 50000
Ethernet68 68,69 etp18a 18 50000
Ethernet70 70,71 etp18b 18 50000
Ethernet72 72,73 etp19a 19 50000
Ethernet74 74,75 etp19b 19 50000
Ethernet76 76,77 etp20a 20 50000
Ethernet78 78,79 etp20b 20 50000
Ethernet80 80,81 etp21a 21 50000
Ethernet82 82,83 etp21b 21 50000
Ethernet84 84,85 etp22a 22 50000
Ethernet86 86,87 etp22b 22 50000
Ethernet88 88,89,90,91 etp23 23 100000
Ethernet92 92,93,94,95 etp24 24 100000
Ethernet96 96,97,98,99 etp25 25 100000
Ethernet100 100,101,102,103 etp26 26 100000
Ethernet104 104,105 etp27a 27 50000
Ethernet106 106,107 etp27b 27 50000
Ethernet108 108,109 etp28a 28 50000
Ethernet110 110,111 etp28b 28 50000
Ethernet112 112,113 etp29a 29 50000
Ethernet114 114,115 etp29b 29 50000
Ethernet116 116,117 etp30a 30 50000
Ethernet118 118,119 etp30b 30 50000
Ethernet120 120,121 etp31a 31 50000
Ethernet122 122,123 etp31b 31 50000
Ethernet124 124,125 etp32a 32 50000
Ethernet126 126,127 etp32b 32 50000
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_44x50g_10x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
Loading