forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] Add x86_64-nvidia_sn5610n-r0 new platform and SKUs (sonic-…
…net#21056) - Why I did it To support new Mellanox platform - SN5610N. - How I did it Add new platform folder under device/mellanox. Also updated the new platform under asic_table.j2 file, and device_data.py. - How to verify it Run sonic-mgmt tests on SN5610N Mellanox platform
- Loading branch information
Showing
53 changed files
with
4,644 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 |
54 changes: 54 additions & 0 deletions
54
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t0.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{# | ||
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES | ||
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
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 = '0m' %} | ||
{%-set ports2cable = { | ||
'torrouter_server' : '0m', | ||
'leafrouter_torrouter' : '0m', | ||
'spinerouter_leafrouter' : '0m' | ||
} | ||
-%} | ||
{% set ingress_lossless_pool_size = '144189440' %} | ||
{% set ingress_lossless_pool_xoff = '0' %} | ||
{% set egress_lossless_pool_size = '158229504' %} | ||
{% set egress_lossy_pool_size = '144189440' %} | ||
|
||
{% 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_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) %} | ||
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }} | ||
{%- 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) %} | ||
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }} | ||
{%- endmacro %} |
54 changes: 54 additions & 0 deletions
54
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t1.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{# | ||
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES | ||
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
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 = '0m' %} | ||
{%-set ports2cable = { | ||
'torrouter_server' : '0m', | ||
'leafrouter_torrouter' : '0m', | ||
'spinerouter_leafrouter' : '0m' | ||
} | ||
-%} | ||
{% set ingress_lossless_pool_size = '144189440' %} | ||
{% set ingress_lossless_pool_xoff = '0' %} | ||
{% set egress_lossless_pool_size = '158229504' %} | ||
{% set egress_lossy_pool_size = '144189440' %} | ||
|
||
{% 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_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) %} | ||
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }} | ||
{%- 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) %} | ||
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }} | ||
{%- endmacro %} |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_dynamic.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_dynamic.json.j2 |
7 changes: 7 additions & 0 deletions
7
...lanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/create_only_config_db_buffers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"DEVICE_METADATA": { | ||
"localhost": { | ||
"create_only_config_db_buffers": "true" | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/media_settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/optics_si_settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/optics_si_settings.json |
51 changes: 51 additions & 0 deletions
51
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
## | ||
## SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES | ||
## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
## 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. | ||
## | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold | ||
10000 5m 19456 19456 20480 0 | ||
25000 5m 19456 19456 21504 0 | ||
40000 5m 19456 19456 24576 0 | ||
50000 5m 19456 19456 26624 0 | ||
100000 5m 19456 19456 44032 0 | ||
200000 5m 19456 19456 50176 0 | ||
400000 5m 19456 19456 86016 0 | ||
800000 5m 38912 38912 95232 0 | ||
10000 40m 19456 19456 20480 0 | ||
25000 40m 19456 19456 22528 0 | ||
40000 40m 19456 19456 25600 0 | ||
50000 40m 19456 19456 28672 0 | ||
100000 40m 19456 19456 49152 0 | ||
200000 40m 19456 19456 60416 0 | ||
400000 40m 19456 19456 104448 0 | ||
800000 40m 38912 38912 132096 0 | ||
10000 250m 19456 19456 14336 0 | ||
25000 250m 19456 19456 20480 0 | ||
40000 250m 19456 19456 28672 0 | ||
50000 250m 19456 19456 33792 0 | ||
100000 250m 19456 19456 68608 0 | ||
200000 250m 19456 19456 107520 0 | ||
400000 250m 19456 19456 208896 0 | ||
800000 250m 38912 38912 349184 0 | ||
10000 1000m 19456 19456 24576 0 | ||
25000 1000m 19456 19456 46080 0 | ||
40000 1000m 19456 19456 68608 0 | ||
50000 1000m 19456 19456 83968 0 | ||
100000 1000m 19456 19456 168960 0 | ||
200000 1000m 19456 19456 308224 0 | ||
400000 1000m 19456 19456 610304 0 | ||
800000 1000m 38912 38912 1153024 0 |
6 changes: 6 additions & 0 deletions
6
device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pmon_daemon_control.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"skip_ledd": true, | ||
"skip_fancontrol": true, | ||
"skip_xcvrd_cmis_mgr": false | ||
} | ||
|
Oops, something went wrong.