From 376645245d68f7a18761839ba0f3afffbdc1bf7b Mon Sep 17 00:00:00 2001 From: Noa Or <58519608+noaOrMlnx@users.noreply.github.com> Date: Thu, 6 Feb 2025 08:28:26 +0200 Subject: [PATCH] [Mellanox] Add x86_64-nvidia_sn5610n-r0 new platform and SKUs (#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 --- .../Mellanox-SN5610N-C224O8/buffers.json.j2 | 1 + .../buffers_defaults_objects.j2 | 1 + .../buffers_defaults_t0.j2 | 54 + .../buffers_defaults_t1.j2 | 54 + .../buffers_dynamic.json.j2 | 1 + .../create_only_config_db_buffers.json | 7 + .../media_settings.json | 1 + .../optics_si_settings.json | 1 + .../pg_profile_lookup.ini | 51 + .../pmon_daemon_control.json | 6 + .../Mellanox-SN5610N-C224O8/port_config.ini | 253 ++++ .../Mellanox-SN5610N-C224O8/qos.json.j2 | 1 + .../Mellanox-SN5610N-C224O8/sai.profile | 4 + .../sai_5610n_224x100g_8x400g.xml | 635 ++++++++ .../supporting_bulk_counter_groups | 1 + .../Mellanox-SN5610N-C256S2/buffers.json.j2 | 1 + .../buffers_defaults_objects.j2 | 213 +++ .../buffers_defaults_t0.j2 | 54 + .../buffers_defaults_t1.j2 | 54 + .../buffers_dynamic.json.j2 | 17 + .../create_only_config_db_buffers.json | 7 + .../media_settings.json | 1 + .../optics_si_settings.json | 1 + .../pg_profile_lookup.ini | 52 + .../pmon_daemon_control.json | 6 + .../Mellanox-SN5610N-C256S2/port_config.ini | 277 ++++ .../Mellanox-SN5610N-C256S2/qos.json.j2 | 170 +++ .../Mellanox-SN5610N-C256S2/sai.profile | 4 + .../sai_5610n_256x100g.xml | 635 ++++++++ .../supporting_bulk_counter_groups | 1 + .../x86_64-nvidia_sn5610n-r0/default_sku | 1 + .../x86_64-nvidia_sn5610n-r0/installer.conf | 1 + .../x86_64-nvidia_sn5610n-r0/pcie.yaml | 199 +++ .../x86_64-nvidia_sn5610n-r0/platform.json | 1344 +++++++++++++++++ .../x86_64-nvidia_sn5610n-r0/platform_asic | 1 + .../platform_components.json | 15 + .../x86_64-nvidia_sn5610n-r0/platform_wait | 1 + .../plugins/eeprom.py | 1 + .../plugins/psuutil.py | 1 + .../plugins/sfplpmget.py | 1 + .../plugins/sfplpmset.py | 1 + .../plugins/sfpreset.py | 1 + .../plugins/sfputil.py | 1 + .../pmon_daemon_control.json | 6 + .../pmon_immediate_start | 0 .../x86_64-nvidia_sn5610n-r0/pre_reboot_hook | 1 + .../x86_64-nvidia_sn5610n-r0/psu_sensors.json | 1 + .../psu_sensors_conf_updater | 1 + .../x86_64-nvidia_sn5610n-r0/sensors.conf | 490 ++++++ .../system_health_monitoring_config.json | 1 + .../thermal_policy.json | 1 + platform/mellanox/asic_table.j2 | 1 + .../sonic_platform/device_data.py | 10 + 53 files changed, 4644 insertions(+) create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers.json.j2 create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t0.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t1.j2 create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_dynamic.json.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/create_only_config_db_buffers.json create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/media_settings.json create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/optics_si_settings.json create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pg_profile_lookup.ini create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pmon_daemon_control.json create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/port_config.ini create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/qos.json.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai.profile create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_224x100g_8x400g.xml create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/supporting_bulk_counter_groups create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers.json.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t0.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t1.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_dynamic.json.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/create_only_config_db_buffers.json create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/media_settings.json create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/optics_si_settings.json create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pg_profile_lookup.ini create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pmon_daemon_control.json create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/port_config.ini create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai.profile create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai_5610n_256x100g.xml create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/supporting_bulk_counter_groups create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/default_sku create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/platform_asic create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/platform_components.json create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/platform_wait create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/eeprom.py create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/psuutil.py create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfplpmget.py create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfplpmset.py create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfpreset.py create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfputil.py create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/pmon_daemon_control.json create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/pmon_immediate_start create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/pre_reboot_hook create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/psu_sensors.json create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/psu_sensors_conf_updater create mode 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/sensors.conf create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/system_health_monitoring_config.json create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/thermal_policy.json diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers.json.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers.json.j2 new file mode 120000 index 000000000000..add8bf8bb7c2 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2 new file mode 120000 index 000000000000..2f04a30b0415 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2 @@ -0,0 +1 @@ +../Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t0.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t0.j2 new file mode 100644 index 000000000000..e4ece1cdbf08 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t0.j2 @@ -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 %} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t1.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t1.j2 new file mode 100644 index 000000000000..e4ece1cdbf08 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t1.j2 @@ -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 %} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_dynamic.json.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_dynamic.json.j2 new file mode 120000 index 000000000000..8c4117c66214 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_dynamic.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_dynamic.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/create_only_config_db_buffers.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/create_only_config_db_buffers.json new file mode 100644 index 000000000000..6feb156714fe --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/create_only_config_db_buffers.json @@ -0,0 +1,7 @@ +{ + "DEVICE_METADATA": { + "localhost": { + "create_only_config_db_buffers": "true" + } + } +} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/media_settings.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/media_settings.json new file mode 120000 index 000000000000..bb10e7486184 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/media_settings.json @@ -0,0 +1 @@ +../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/optics_si_settings.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/optics_si_settings.json new file mode 120000 index 000000000000..84477b1a15d6 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/optics_si_settings.json @@ -0,0 +1 @@ +../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/optics_si_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pg_profile_lookup.ini b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pg_profile_lookup.ini new file mode 100644 index 000000000000..936bd42836e4 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pg_profile_lookup.ini @@ -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 diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pmon_daemon_control.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pmon_daemon_control.json new file mode 100644 index 000000000000..208fa63ca294 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pmon_daemon_control.json @@ -0,0 +1,6 @@ +{ + "skip_ledd": true, + "skip_fancontrol": true, + "skip_xcvrd_cmis_mgr": false +} + diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/port_config.ini b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/port_config.ini new file mode 100644 index 000000000000..7efebf19d663 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/port_config.ini @@ -0,0 +1,253 @@ +## +## 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. +## + +# name lanes alias index speed autoneg subport +Ethernet0 0 etp1a 1 100000 off 1 +Ethernet1 1 etp1b 1 100000 off 2 +Ethernet2 2 etp1c 1 100000 off 3 +Ethernet3 3 etp1d 1 100000 off 4 +Ethernet4 4 etp1e 1 100000 off 5 +Ethernet5 5 etp1f 1 100000 off 6 +Ethernet6 6 etp1g 1 100000 off 7 +Ethernet7 7 etp1h 1 100000 off 8 +Ethernet16 16 etp3a 3 100000 off 1 +Ethernet17 17 etp3b 3 100000 off 2 +Ethernet18 18 etp3c 3 100000 off 3 +Ethernet19 19 etp3d 3 100000 off 4 +Ethernet20 20 etp3e 3 100000 off 5 +Ethernet21 21 etp3f 3 100000 off 6 +Ethernet22 22 etp3g 3 100000 off 7 +Ethernet23 23 etp3h 3 100000 off 8 +Ethernet32 32 etp5a 5 100000 off 1 +Ethernet33 33 etp5b 5 100000 off 2 +Ethernet34 34 etp5c 5 100000 off 3 +Ethernet35 35 etp5d 5 100000 off 4 +Ethernet36 36 etp5e 5 100000 off 5 +Ethernet37 37 etp5f 5 100000 off 6 +Ethernet38 38 etp5g 5 100000 off 7 +Ethernet39 39 etp5h 5 100000 off 8 +Ethernet48 48 etp7a 7 100000 off 1 +Ethernet49 49 etp7b 7 100000 off 2 +Ethernet50 50 etp7c 7 100000 off 3 +Ethernet51 51 etp7d 7 100000 off 4 +Ethernet52 52 etp7e 7 100000 off 5 +Ethernet53 53 etp7f 7 100000 off 6 +Ethernet54 54 etp7g 7 100000 off 7 +Ethernet55 55 etp7h 7 100000 off 8 +Ethernet64 64 etp9a 9 100000 off 1 +Ethernet65 65 etp9b 9 100000 off 2 +Ethernet66 66 etp9c 9 100000 off 3 +Ethernet67 67 etp9d 9 100000 off 4 +Ethernet68 68 etp9e 9 100000 off 5 +Ethernet69 69 etp9f 9 100000 off 6 +Ethernet70 70 etp9g 9 100000 off 7 +Ethernet71 71 etp9h 9 100000 off 8 +Ethernet80 80 etp11a 11 100000 off 1 +Ethernet81 81 etp11b 11 100000 off 2 +Ethernet82 82 etp11c 11 100000 off 3 +Ethernet83 83 etp11d 11 100000 off 4 +Ethernet84 84 etp11e 11 100000 off 5 +Ethernet85 85 etp11f 11 100000 off 6 +Ethernet86 86 etp11g 11 100000 off 7 +Ethernet87 87 etp11h 11 100000 off 8 +Ethernet96 96,97,98,99 etp13a 13 400000 off 1 +Ethernet100 100,101,102,103 etp13b 13 400000 off 2 +Ethernet112 112 etp15a 15 100000 off 1 +Ethernet113 113 etp15b 15 100000 off 2 +Ethernet114 114 etp15c 15 100000 off 3 +Ethernet115 115 etp15d 15 100000 off 4 +Ethernet116 116 etp15e 15 100000 off 5 +Ethernet117 117 etp15f 15 100000 off 6 +Ethernet118 118 etp15g 15 100000 off 7 +Ethernet119 119 etp15h 15 100000 off 8 +Ethernet128 128,129,130,131 etp17a 17 400000 off 1 +Ethernet132 132,133,134,135 etp17b 17 400000 off 2 +Ethernet144 144 etp19a 19 100000 off 1 +Ethernet145 145 etp19b 19 100000 off 2 +Ethernet146 146 etp19c 19 100000 off 3 +Ethernet147 147 etp19d 19 100000 off 4 +Ethernet148 148 etp19e 19 100000 off 5 +Ethernet149 149 etp19f 19 100000 off 6 +Ethernet150 150 etp19g 19 100000 off 7 +Ethernet151 151 etp19h 19 100000 off 8 +Ethernet160 160 etp21a 21 100000 off 1 +Ethernet161 161 etp21b 21 100000 off 2 +Ethernet162 162 etp21c 21 100000 off 3 +Ethernet163 163 etp21d 21 100000 off 4 +Ethernet164 164 etp21e 21 100000 off 5 +Ethernet165 165 etp21f 21 100000 off 6 +Ethernet166 166 etp21g 21 100000 off 7 +Ethernet167 167 etp21h 21 100000 off 8 +Ethernet176 176 etp23a 23 100000 off 1 +Ethernet177 177 etp23b 23 100000 off 2 +Ethernet178 178 etp23c 23 100000 off 3 +Ethernet179 179 etp23d 23 100000 off 4 +Ethernet180 180 etp23e 23 100000 off 5 +Ethernet181 181 etp23f 23 100000 off 6 +Ethernet182 182 etp23g 23 100000 off 7 +Ethernet183 183 etp23h 23 100000 off 8 +Ethernet192 192 etp25a 25 100000 off 1 +Ethernet193 193 etp25b 25 100000 off 2 +Ethernet194 194 etp25c 25 100000 off 3 +Ethernet195 195 etp25d 25 100000 off 4 +Ethernet196 196 etp25e 25 100000 off 5 +Ethernet197 197 etp25f 25 100000 off 6 +Ethernet198 198 etp25g 25 100000 off 7 +Ethernet199 199 etp25h 25 100000 off 8 +Ethernet208 208 etp27a 27 100000 off 1 +Ethernet209 209 etp27b 27 100000 off 2 +Ethernet210 210 etp27c 27 100000 off 3 +Ethernet211 211 etp27d 27 100000 off 4 +Ethernet212 212 etp27e 27 100000 off 5 +Ethernet213 213 etp27f 27 100000 off 6 +Ethernet214 214 etp27g 27 100000 off 7 +Ethernet215 215 etp27h 27 100000 off 8 +Ethernet224 224 etp29a 29 100000 off 1 +Ethernet225 225 etp29b 29 100000 off 2 +Ethernet226 226 etp29c 29 100000 off 3 +Ethernet227 227 etp29d 29 100000 off 4 +Ethernet228 228 etp29e 29 100000 off 5 +Ethernet229 229 etp29f 29 100000 off 6 +Ethernet230 230 etp29g 29 100000 off 7 +Ethernet231 231 etp29h 29 100000 off 8 +Ethernet240 240 etp31a 31 100000 off 1 +Ethernet241 241 etp31b 31 100000 off 2 +Ethernet242 242 etp31c 31 100000 off 3 +Ethernet243 243 etp31d 31 100000 off 4 +Ethernet244 244 etp31e 31 100000 off 5 +Ethernet245 245 etp31f 31 100000 off 6 +Ethernet246 246 etp31g 31 100000 off 7 +Ethernet247 247 etp31h 31 100000 off 8 +Ethernet256 256 etp33a 33 100000 off 1 +Ethernet257 257 etp33b 33 100000 off 2 +Ethernet258 258 etp33c 33 100000 off 3 +Ethernet259 259 etp33d 33 100000 off 4 +Ethernet260 260 etp33e 33 100000 off 5 +Ethernet261 261 etp33f 33 100000 off 6 +Ethernet262 262 etp33g 33 100000 off 7 +Ethernet263 263 etp33h 33 100000 off 8 +Ethernet272 272 etp35a 35 100000 off 1 +Ethernet273 273 etp35b 35 100000 off 2 +Ethernet274 274 etp35c 35 100000 off 3 +Ethernet275 275 etp35d 35 100000 off 4 +Ethernet276 276 etp35e 35 100000 off 5 +Ethernet277 277 etp35f 35 100000 off 6 +Ethernet278 278 etp35g 35 100000 off 7 +Ethernet279 279 etp35h 35 100000 off 8 +Ethernet288 288 etp37a 37 100000 off 1 +Ethernet289 289 etp37b 37 100000 off 2 +Ethernet290 290 etp37c 37 100000 off 3 +Ethernet291 291 etp37d 37 100000 off 4 +Ethernet292 292 etp37e 37 100000 off 5 +Ethernet293 293 etp37f 37 100000 off 6 +Ethernet294 294 etp37g 37 100000 off 7 +Ethernet295 295 etp37h 37 100000 off 8 +Ethernet304 304 etp39a 39 100000 off 1 +Ethernet305 305 etp39b 39 100000 off 2 +Ethernet306 306 etp39c 39 100000 off 3 +Ethernet307 307 etp39d 39 100000 off 4 +Ethernet308 308 etp39e 39 100000 off 5 +Ethernet309 309 etp39f 39 100000 off 6 +Ethernet310 310 etp39g 39 100000 off 7 +Ethernet311 311 etp39h 39 100000 off 8 +Ethernet320 320 etp41a 41 100000 off 1 +Ethernet321 321 etp41b 41 100000 off 2 +Ethernet322 322 etp41c 41 100000 off 3 +Ethernet323 323 etp41d 41 100000 off 4 +Ethernet324 324 etp41e 41 100000 off 5 +Ethernet325 325 etp41f 41 100000 off 6 +Ethernet326 326 etp41g 41 100000 off 7 +Ethernet327 327 etp41h 41 100000 off 8 +Ethernet336 336 etp43a 43 100000 off 1 +Ethernet337 337 etp43b 43 100000 off 2 +Ethernet338 338 etp43c 43 100000 off 3 +Ethernet339 339 etp43d 43 100000 off 4 +Ethernet340 340 etp43e 43 100000 off 5 +Ethernet341 341 etp43f 43 100000 off 6 +Ethernet342 342 etp43g 43 100000 off 7 +Ethernet343 343 etp43h 43 100000 off 8 +Ethernet352 352,353,354,355 etp45a 45 400000 off 1 +Ethernet356 356,357,358,359 etp45b 45 400000 off 2 +Ethernet368 368 etp47a 47 100000 off 1 +Ethernet369 369 etp47b 47 100000 off 2 +Ethernet370 370 etp47c 47 100000 off 3 +Ethernet371 371 etp47d 47 100000 off 4 +Ethernet372 372 etp47e 47 100000 off 5 +Ethernet373 373 etp47f 47 100000 off 6 +Ethernet374 374 etp47g 47 100000 off 7 +Ethernet375 375 etp47h 47 100000 off 8 +Ethernet384 384,385,386,387 etp49a 49 400000 off 1 +Ethernet388 388,389,390,391 etp49b 49 400000 off 2 +Ethernet400 400 etp51a 51 100000 off 1 +Ethernet401 401 etp51b 51 100000 off 2 +Ethernet402 402 etp51c 51 100000 off 3 +Ethernet403 403 etp51d 51 100000 off 4 +Ethernet404 404 etp51e 51 100000 off 5 +Ethernet405 405 etp51f 51 100000 off 6 +Ethernet406 406 etp51g 51 100000 off 7 +Ethernet407 407 etp51h 51 100000 off 8 +Ethernet416 416 etp53a 53 100000 off 1 +Ethernet417 417 etp53b 53 100000 off 2 +Ethernet418 418 etp53c 53 100000 off 3 +Ethernet419 419 etp53d 53 100000 off 4 +Ethernet420 420 etp53e 53 100000 off 5 +Ethernet421 421 etp53f 53 100000 off 6 +Ethernet422 422 etp53g 53 100000 off 7 +Ethernet423 423 etp53h 53 100000 off 8 +Ethernet432 432 etp55a 55 100000 off 1 +Ethernet433 433 etp55b 55 100000 off 2 +Ethernet434 434 etp55c 55 100000 off 3 +Ethernet435 435 etp55d 55 100000 off 4 +Ethernet436 436 etp55e 55 100000 off 5 +Ethernet437 437 etp55f 55 100000 off 6 +Ethernet438 438 etp55g 55 100000 off 7 +Ethernet439 439 etp55h 55 100000 off 8 +Ethernet448 448 etp57a 57 100000 off 1 +Ethernet449 449 etp57b 57 100000 off 2 +Ethernet450 450 etp57c 57 100000 off 3 +Ethernet451 451 etp57d 57 100000 off 4 +Ethernet452 452 etp57e 57 100000 off 5 +Ethernet453 453 etp57f 57 100000 off 6 +Ethernet454 454 etp57g 57 100000 off 7 +Ethernet455 455 etp57h 57 100000 off 8 +Ethernet464 464 etp59a 59 100000 off 1 +Ethernet465 465 etp59b 59 100000 off 2 +Ethernet466 466 etp59c 59 100000 off 3 +Ethernet467 467 etp59d 59 100000 off 4 +Ethernet468 468 etp59e 59 100000 off 5 +Ethernet469 469 etp59f 59 100000 off 6 +Ethernet470 470 etp59g 59 100000 off 7 +Ethernet471 471 etp59h 59 100000 off 8 +Ethernet480 480 etp61a 61 100000 off 1 +Ethernet481 481 etp61b 61 100000 off 2 +Ethernet482 482 etp61c 61 100000 off 3 +Ethernet483 483 etp61d 61 100000 off 4 +Ethernet484 484 etp61e 61 100000 off 5 +Ethernet485 485 etp61f 61 100000 off 6 +Ethernet486 486 etp61g 61 100000 off 7 +Ethernet487 487 etp61h 61 100000 off 8 +Ethernet496 496 etp63a 63 100000 off 1 +Ethernet497 497 etp63b 63 100000 off 2 +Ethernet498 498 etp63c 63 100000 off 3 +Ethernet499 499 etp63d 63 100000 off 4 +Ethernet500 500 etp63e 63 100000 off 5 +Ethernet501 501 etp63f 63 100000 off 6 +Ethernet502 502 etp63g 63 100000 off 7 +Ethernet503 503 etp63h 63 100000 off 8 +Ethernet512 512 etp65 65 10000 +Ethernet520 520 etp66 66 10000 diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/qos.json.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/qos.json.j2 new file mode 120000 index 000000000000..c7fe6816246a --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/qos.json.j2 @@ -0,0 +1 @@ +../Mellanox-SN5610N-C256S2/qos.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai.profile b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai.profile new file mode 100644 index 000000000000..407a331b6665 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai.profile @@ -0,0 +1,4 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_5610n_224x100g_8x400g.xml +SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1 +SAI_INDEPENDENT_MODULE_MODE=1 +SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1 diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_224x100g_8x400g.xml b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_224x100g_8x400g.xml new file mode 100644 index 000000000000..b0fb1340857e --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_224x100g_8x400g.xml @@ -0,0 +1,635 @@ + + + + + + + 00:77:66:55:44:00 + + + 0 + + + 66 + + + + + 1 + 8 + 34 + 3 + 32768 + 2 + true + + + 5 + 8 + 35 + 3 + 32768 + 2 + true + + + 9 + 8 + 33 + 3 + 32768 + 2 + true + + + 13 + 8 + 32 + 3 + 32768 + 2 + true + + + 17 + 8 + 38 + 3 + 32768 + 2 + true + + + 21 + 8 + 39 + 3 + 32768 + 2 + true + + + 25 + 8 + 37 + 3 + 32768 + 2 + true + + + 29 + 8 + 36 + 3 + 32768 + 2 + true + + + 33 + 8 + 42 + 3 + 32768 + 2 + true + + + 37 + 8 + 43 + 3 + 32768 + 2 + true + + + 41 + 8 + 41 + 3 + 32768 + 2 + true + + + 45 + 8 + 40 + 3 + 32768 + 2 + true + + + 49 + 8 + 46 + 3 + 32768 + 2 + true + + + 53 + 8 + 47 + 3 + 32768 + 2 + true + + + 57 + 8 + 45 + 3 + 32768 + 2 + true + + + 61 + 8 + 44 + 3 + 32768 + 2 + true + + + 65 + 8 + 51 + 3 + 32768 + 2 + true + + + 69 + 8 + 50 + 3 + 32768 + 2 + true + + + 73 + 8 + 48 + 3 + 32768 + 2 + true + + + 77 + 8 + 49 + 3 + 32768 + 2 + true + + + 81 + 8 + 55 + 3 + 32768 + 2 + true + + + 85 + 8 + 54 + 3 + 32768 + 2 + true + + + 89 + 8 + 52 + 3 + 32768 + 2 + true + + + 93 + 8 + 53 + 3 + 32768 + 2 + true + + + 97 + 8 + 59 + 3 + 32768 + 2 + true + + + 101 + 8 + 58 + 3 + 32768 + 2 + true + + + 105 + 8 + 56 + + + 3 + + + 32768 + 2 + true + + + 109 + 8 + 57 + 3 + 32768 + 2 + true + + + 113 + 8 + 63 + 3 + 32768 + 2 + true + + + 117 + 8 + 62 + 3 + 32768 + 2 + true + + + 121 + 8 + 60 + 3 + 32768 + 2 + true + + + 125 + 8 + 61 + 3 + 32768 + 2 + true + + + 129 + 8 + 29 + 3 + 32768 + 2 + true + + + 133 + 8 + 28 + 3 + 32768 + 2 + true + + + 137 + 8 + 30 + 3 + 32768 + 2 + true + + + 141 + 8 + 31 + 3 + 32768 + 2 + true + + + 145 + 8 + 25 + 3 + 32768 + 2 + true + + + 149 + 8 + 24 + 3 + 32768 + 2 + true + + + 153 + 8 + 26 + 3 + 32768 + 2 + true + + + 157 + 8 + 27 + 3 + 32768 + 2 + true + + + 161 + 8 + 21 + 3 + 32768 + 2 + true + + + 165 + 8 + 20 + 3 + 32768 + 2 + true + + + 169 + 8 + 22 + 3 + 32768 + 2 + true + + + 173 + 8 + 23 + 3 + 32768 + 2 + true + + + 177 + 8 + 17 + 3 + 32768 + 2 + true + + + 181 + 8 + 16 + 3 + 32768 + 2 + true + + + 185 + 8 + 18 + 3 + 32768 + 2 + true + + + 189 + 8 + 19 + 3 + 32768 + 2 + true + + + 193 + 8 + 12 + 3 + 32768 + 2 + true + + + 197 + 8 + 13 + 3 + 32768 + 2 + true + + + 201 + 8 + 15 + 3 + 32768 + 2 + true + + + 205 + 8 + 14 + 3 + 32768 + 2 + true + + + 209 + 8 + 8 + 3 + 32768 + 2 + true + + + 213 + 8 + 9 + 3 + 32768 + 2 + true + + + 217 + 8 + 11 + 3 + 32768 + 2 + true + + + 221 + 8 + 10 + 3 + 32768 + 2 + true + + + 225 + 8 + 4 + 3 + 32768 + 2 + true + + + 229 + 8 + 5 + 3 + 32768 + 2 + true + + + 233 + 8 + 7 + + + 3 + + + 32768 + 2 + true + + + 237 + 8 + 6 + 3 + 32768 + 2 + true + + + 241 + 8 + 0 + 3 + 32768 + 2 + true + + + 245 + 8 + 1 + 3 + 32768 + 2 + true + + + 249 + 8 + 3 + 3 + 32768 + 2 + true + + + 253 + 8 + 2 + 3 + 32768 + 2 + true + + + 257 + 1 + 64 + 0 + 16 + true + + + 258 + 1 + 65 + 0 + 16 + true + + + + diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/supporting_bulk_counter_groups b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/supporting_bulk_counter_groups new file mode 100644 index 000000000000..178f0575d049 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/supporting_bulk_counter_groups @@ -0,0 +1 @@ +QUEUE_WATERMARK_STAT_COUNTER,PG_WATERMARK_STAT_COUNTER,PFC_WD diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers.json.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers.json.j2 new file mode 120000 index 000000000000..add8bf8bb7c2 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 new file mode 100644 index 000000000000..ea5630e0446d --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 @@ -0,0 +1,213 @@ +{# + SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + Copyright (c) 2025 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. +#} + +{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %} + "BUFFER_POOL": { + {% if dynamic_mode is not defined and port_names_inactive|length > 0 -%} + "ingress_zero_pool" : { + "mode": "static", + "type": "ingress", + "size": "0" + }, + {% endif -%} + "ingress_lossless_pool": { + {% if dynamic_mode is not defined -%} + "size": "{{ ingress_lossless_pool_size }}", + {% endif -%} + "type": "ingress", + "mode": "dynamic" + }, + "egress_lossless_pool": { + "size": "{{ egress_lossless_pool_size }}", + "type": "egress", + "mode": "dynamic" + }, + "egress_lossy_pool": { + {% if dynamic_mode is not defined -%} + "size": "{{ egress_lossy_pool_size }}", + {% endif -%} + "type": "egress", + "mode": "dynamic" + } + }, + "BUFFER_PROFILE": { + {% if dynamic_mode is not defined and port_names_inactive|length > 0 -%} + "ingress_lossy_pg_zero_profile" : { + "pool":"ingress_zero_pool", + "size":"0", + "static_th":"0" + }, + "ingress_lossless_zero_profile" : { + "pool":"ingress_lossless_pool", + "size":"0", + "dynamic_th":"-8" + }, + "egress_lossless_zero_profile" : { + "pool":"egress_lossless_pool", + "size":"0", + "dynamic_th":"-8" + }, + "egress_lossy_zero_profile" : { + "pool":"egress_lossy_pool", + "size":"0", + "dynamic_th":"-8" + }, + {% endif -%} + "ingress_lossy_profile": { + "pool":"ingress_lossless_pool", + "size":"0", + "dynamic_th":"3" + }, + "egress_lossless_profile": { + "pool":"egress_lossless_pool", + "size":"0", + "dynamic_th":"7" + }, + "egress_lossy_profile": { + "pool":"egress_lossy_pool", + "size":"9216", + "dynamic_th":"7" + }, + "q_lossy_profile": { + "pool":"egress_lossy_pool", + "size":"0", + "dynamic_th":"0" + }, + "q_lossy_minus_7_profile": { + "pool": "egress_lossy_pool", + "size": "0", + "dynamic_th" : "-7" + }, + "q_lossy_minus_3_profile": { + "pool": "egress_lossy_pool", + "size": "0", + "dynamic_th" : "-3" + } + }, +{%- endmacro %} + +{%- macro generate_profile_lists(port_names_active, port_names_inactive) %} + "BUFFER_PORT_INGRESS_PROFILE_LIST": { +{% for port in port_names_active.split(',') %} + "{{ port }}": { + "profile_list" : "ingress_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% if port_names_inactive|length > 0 %} +, +{% for port in port_names_inactive.split(',') %} + "{{ port }}": { +{% if dynamic_mode is defined %} + "profile_list" : "ingress_lossy_profile" +{% else %} + "profile_list" : "ingress_lossless_zero_profile" +{% endif %} + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% endif %} + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST": { +{% for port in port_names_active.split(',') %} + "{{ port }}": { + "profile_list" : "egress_lossless_profile,egress_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% if port_names_inactive|length > 0 %} +, +{% for port in port_names_inactive.split(',') %} + "{{ port }}": { +{% if dynamic_mode is defined %} + "profile_list" : "egress_lossless_profile,egress_lossy_profile" +{% else %} + "profile_list" : "egress_lossless_zero_profile,egress_lossy_zero_profile" +{% endif %} + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% endif %} + } +{%- endmacro %} + +{%- macro generate_queue_buffers(port_names_active, port_names_inactive) %} + "BUFFER_QUEUE": { +{% if dynamic_mode is not defined %} +{% for port in port_names_active.split(',') %} + "{{ port }}|0": { + "profile" : "q_lossy_profile" + }, +{% endfor %} +{% for port in port_names_active.split(',') %} + "{{ port }}|1-2": { + "profile" : "q_lossy_minus_7_profile" + }, +{% endfor %} +{% for port in port_names_active.split(',') %} + "{{ port }}|3": { + "profile" : "q_lossy_profile" + }, +{% endfor %} +{% for port in port_names_active.split(',') %} + "{{ port }}|4": { + "profile" : "q_lossy_minus_3_profile" + }, +{% endfor %} +{% for port in port_names_active.split(',') %} + "{{ port }}|5-6": { + "profile" : "q_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% if port_names_inactive|length > 0 %} +{% for port in port_names_inactive.split(',') %} + {%- if loop.first -%},{%- endif -%} + "{{ port }}|1-6": { + "profile" : "egress_lossy_zero_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% endif %} +{% endif %} + } +{%- endmacro %} + +{%- macro generate_pg_profiles(port_names_active, port_names_inactive) %} + "BUFFER_PG": { +{% for port in port_names_active.split(',') %} + "{{ port }}|0": { + "profile" : "ingress_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% if port_names_inactive|length > 0 %} +{%- for port in port_names_inactive.split(',') %} + {%- if loop.first -%},{%- endif -%} + "{{ port }}|0": { +{% if dynamic_mode is defined %} + "profile" : "ingress_lossy_profile" +{% else %} + "profile" : "ingress_lossy_pg_zero_profile" +{% endif %} + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% endif %} + } +{%- endmacro %} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t0.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t0.j2 new file mode 100644 index 000000000000..3a4a3fd94a33 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t0.j2 @@ -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 = '142645248' %} +{% set ingress_lossless_pool_xoff = '0' %} +{% set egress_lossless_pool_size = '158229504' %} +{% set egress_lossy_pool_size = '142645248' %} + +{% 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 %} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t1.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t1.j2 new file mode 100644 index 000000000000..3a4a3fd94a33 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t1.j2 @@ -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 = '142645248' %} +{% set ingress_lossless_pool_xoff = '0' %} +{% set egress_lossless_pool_size = '158229504' %} +{% set egress_lossy_pool_size = '142645248' %} + +{% 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 %} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_dynamic.json.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_dynamic.json.j2 new file mode 100644 index 000000000000..17a598d4c7bd --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_dynamic.json.j2 @@ -0,0 +1,17 @@ +{# + 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_topo = 't0' %} +{%- set dynamic_mode = 'true' %} +{%- include 'buffers_config.j2' %} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/create_only_config_db_buffers.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/create_only_config_db_buffers.json new file mode 100644 index 000000000000..6feb156714fe --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/create_only_config_db_buffers.json @@ -0,0 +1,7 @@ +{ + "DEVICE_METADATA": { + "localhost": { + "create_only_config_db_buffers": "true" + } + } +} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/media_settings.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/media_settings.json new file mode 120000 index 000000000000..bb10e7486184 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/media_settings.json @@ -0,0 +1 @@ +../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/optics_si_settings.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/optics_si_settings.json new file mode 120000 index 000000000000..84477b1a15d6 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/optics_si_settings.json @@ -0,0 +1 @@ +../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/optics_si_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pg_profile_lookup.ini b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pg_profile_lookup.ini new file mode 100644 index 000000000000..8bb46b30c642 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pg_profile_lookup.ini @@ -0,0 +1,52 @@ +## +## 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 39936 19456 20480 0 + 25000 5m 40960 19456 21504 0 + 40000 5m 44032 19456 24576 0 + 50000 5m 46080 19456 26624 0 + 100000 5m 63488 19456 44032 0 + 200000 5m 69632 19456 50176 0 + 400000 5m 105472 19456 86016 0 + 800000 5m 134144 38912 95232 0 + 10000 40m 39936 19456 20480 0 + 25000 40m 41984 19456 22528 0 + 40000 40m 45056 19456 25600 0 + 50000 40m 48128 19456 28672 0 + 100000 40m 68608 19456 49152 0 + 200000 40m 79872 19456 60416 0 + 400000 40m 123904 19456 104448 0 + 800000 40m 171008 38912 132096 0 + 10000 300m 43008 19456 23552 0 + 25000 300m 50176 19456 30720 0 + 40000 300m 59392 19456 39936 0 + 50000 300m 65536 19456 46080 0 + 100000 300m 103424 19456 83968 0 + 200000 300m 149504 19456 130048 0 + 400000 300m 263168 19456 243712 0 + 800000 300m 450560 38912 411648 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 + diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pmon_daemon_control.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pmon_daemon_control.json new file mode 100644 index 000000000000..208fa63ca294 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pmon_daemon_control.json @@ -0,0 +1,6 @@ +{ + "skip_ledd": true, + "skip_fancontrol": true, + "skip_xcvrd_cmis_mgr": false +} + diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/port_config.ini b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/port_config.ini new file mode 100644 index 000000000000..de5ac2fee31e --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/port_config.ini @@ -0,0 +1,277 @@ +## +## 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. +## + +# name lanes alias index speed autoneg subport +Ethernet0 0 etp1a 1 100000 off 1 +Ethernet1 1 etp1b 1 100000 off 2 +Ethernet2 2 etp1c 1 100000 off 3 +Ethernet3 3 etp1d 1 100000 off 4 +Ethernet4 4 etp1e 1 100000 off 5 +Ethernet5 5 etp1f 1 100000 off 6 +Ethernet6 6 etp1g 1 100000 off 7 +Ethernet7 7 etp1h 1 100000 off 8 +Ethernet16 16 etp3a 3 100000 off 1 +Ethernet17 17 etp3b 3 100000 off 2 +Ethernet18 18 etp3c 3 100000 off 3 +Ethernet19 19 etp3d 3 100000 off 4 +Ethernet20 20 etp3e 3 100000 off 5 +Ethernet21 21 etp3f 3 100000 off 6 +Ethernet22 22 etp3g 3 100000 off 7 +Ethernet23 23 etp3h 3 100000 off 8 +Ethernet32 32 etp5a 5 100000 off 1 +Ethernet33 33 etp5b 5 100000 off 2 +Ethernet34 34 etp5c 5 100000 off 3 +Ethernet35 35 etp5d 5 100000 off 4 +Ethernet36 36 etp5e 5 100000 off 5 +Ethernet37 37 etp5f 5 100000 off 6 +Ethernet38 38 etp5g 5 100000 off 7 +Ethernet39 39 etp5h 5 100000 off 8 +Ethernet48 48 etp7a 7 100000 off 1 +Ethernet49 49 etp7b 7 100000 off 2 +Ethernet50 50 etp7c 7 100000 off 3 +Ethernet51 51 etp7d 7 100000 off 4 +Ethernet52 52 etp7e 7 100000 off 5 +Ethernet53 53 etp7f 7 100000 off 6 +Ethernet54 54 etp7g 7 100000 off 7 +Ethernet55 55 etp7h 7 100000 off 8 +Ethernet64 64 etp9a 9 100000 off 1 +Ethernet65 65 etp9b 9 100000 off 2 +Ethernet66 66 etp9c 9 100000 off 3 +Ethernet67 67 etp9d 9 100000 off 4 +Ethernet68 68 etp9e 9 100000 off 5 +Ethernet69 69 etp9f 9 100000 off 6 +Ethernet70 70 etp9g 9 100000 off 7 +Ethernet71 71 etp9h 9 100000 off 8 +Ethernet80 80 etp11a 11 100000 off 1 +Ethernet81 81 etp11b 11 100000 off 2 +Ethernet82 82 etp11c 11 100000 off 3 +Ethernet83 83 etp11d 11 100000 off 4 +Ethernet84 84 etp11e 11 100000 off 5 +Ethernet85 85 etp11f 11 100000 off 6 +Ethernet86 86 etp11g 11 100000 off 7 +Ethernet87 87 etp11h 11 100000 off 8 +Ethernet96 96 etp13a 13 100000 off 1 +Ethernet97 97 etp13b 13 100000 off 2 +Ethernet98 98 etp13c 13 100000 off 3 +Ethernet99 99 etp13d 13 100000 off 4 +Ethernet100 100 etp13e 13 100000 off 5 +Ethernet101 101 etp13f 13 100000 off 6 +Ethernet102 102 etp13g 13 100000 off 7 +Ethernet103 103 etp13h 13 100000 off 8 +Ethernet112 112 etp15a 15 100000 off 1 +Ethernet113 113 etp15b 15 100000 off 2 +Ethernet114 114 etp15c 15 100000 off 3 +Ethernet115 115 etp15d 15 100000 off 4 +Ethernet116 116 etp15e 15 100000 off 5 +Ethernet117 117 etp15f 15 100000 off 6 +Ethernet118 118 etp15g 15 100000 off 7 +Ethernet119 119 etp15h 15 100000 off 8 +Ethernet128 128 etp17a 17 100000 off 1 +Ethernet129 129 etp17b 17 100000 off 2 +Ethernet130 130 etp17c 17 100000 off 3 +Ethernet131 131 etp17d 17 100000 off 4 +Ethernet132 132 etp17e 17 100000 off 5 +Ethernet133 133 etp17f 17 100000 off 6 +Ethernet134 134 etp17g 17 100000 off 7 +Ethernet135 135 etp17h 17 100000 off 8 +Ethernet144 144 etp19a 19 100000 off 1 +Ethernet145 145 etp19b 19 100000 off 2 +Ethernet146 146 etp19c 19 100000 off 3 +Ethernet147 147 etp19d 19 100000 off 4 +Ethernet148 148 etp19e 19 100000 off 5 +Ethernet149 149 etp19f 19 100000 off 6 +Ethernet150 150 etp19g 19 100000 off 7 +Ethernet151 151 etp19h 19 100000 off 8 +Ethernet160 160 etp21a 21 100000 off 1 +Ethernet161 161 etp21b 21 100000 off 2 +Ethernet162 162 etp21c 21 100000 off 3 +Ethernet163 163 etp21d 21 100000 off 4 +Ethernet164 164 etp21e 21 100000 off 5 +Ethernet165 165 etp21f 21 100000 off 6 +Ethernet166 166 etp21g 21 100000 off 7 +Ethernet167 167 etp21h 21 100000 off 8 +Ethernet176 176 etp23a 23 100000 off 1 +Ethernet177 177 etp23b 23 100000 off 2 +Ethernet178 178 etp23c 23 100000 off 3 +Ethernet179 179 etp23d 23 100000 off 4 +Ethernet180 180 etp23e 23 100000 off 5 +Ethernet181 181 etp23f 23 100000 off 6 +Ethernet182 182 etp23g 23 100000 off 7 +Ethernet183 183 etp23h 23 100000 off 8 +Ethernet192 192 etp25a 25 100000 off 1 +Ethernet193 193 etp25b 25 100000 off 2 +Ethernet194 194 etp25c 25 100000 off 3 +Ethernet195 195 etp25d 25 100000 off 4 +Ethernet196 196 etp25e 25 100000 off 5 +Ethernet197 197 etp25f 25 100000 off 6 +Ethernet198 198 etp25g 25 100000 off 7 +Ethernet199 199 etp25h 25 100000 off 8 +Ethernet208 208 etp27a 27 100000 off 1 +Ethernet209 209 etp27b 27 100000 off 2 +Ethernet210 210 etp27c 27 100000 off 3 +Ethernet211 211 etp27d 27 100000 off 4 +Ethernet212 212 etp27e 27 100000 off 5 +Ethernet213 213 etp27f 27 100000 off 6 +Ethernet214 214 etp27g 27 100000 off 7 +Ethernet215 215 etp27h 27 100000 off 8 +Ethernet224 224 etp29a 29 100000 off 1 +Ethernet225 225 etp29b 29 100000 off 2 +Ethernet226 226 etp29c 29 100000 off 3 +Ethernet227 227 etp29d 29 100000 off 4 +Ethernet228 228 etp29e 29 100000 off 5 +Ethernet229 229 etp29f 29 100000 off 6 +Ethernet230 230 etp29g 29 100000 off 7 +Ethernet231 231 etp29h 29 100000 off 8 +Ethernet240 240 etp31a 31 100000 off 1 +Ethernet241 241 etp31b 31 100000 off 2 +Ethernet242 242 etp31c 31 100000 off 3 +Ethernet243 243 etp31d 31 100000 off 4 +Ethernet244 244 etp31e 31 100000 off 5 +Ethernet245 245 etp31f 31 100000 off 6 +Ethernet246 246 etp31g 31 100000 off 7 +Ethernet247 247 etp31h 31 100000 off 8 +Ethernet256 256 etp33a 33 100000 off 1 +Ethernet257 257 etp33b 33 100000 off 2 +Ethernet258 258 etp33c 33 100000 off 3 +Ethernet259 259 etp33d 33 100000 off 4 +Ethernet260 260 etp33e 33 100000 off 5 +Ethernet261 261 etp33f 33 100000 off 6 +Ethernet262 262 etp33g 33 100000 off 7 +Ethernet263 263 etp33h 33 100000 off 8 +Ethernet272 272 etp35a 35 100000 off 1 +Ethernet273 273 etp35b 35 100000 off 2 +Ethernet274 274 etp35c 35 100000 off 3 +Ethernet275 275 etp35d 35 100000 off 4 +Ethernet276 276 etp35e 35 100000 off 5 +Ethernet277 277 etp35f 35 100000 off 6 +Ethernet278 278 etp35g 35 100000 off 7 +Ethernet279 279 etp35h 35 100000 off 8 +Ethernet288 288 etp37a 37 100000 off 1 +Ethernet289 289 etp37b 37 100000 off 2 +Ethernet290 290 etp37c 37 100000 off 3 +Ethernet291 291 etp37d 37 100000 off 4 +Ethernet292 292 etp37e 37 100000 off 5 +Ethernet293 293 etp37f 37 100000 off 6 +Ethernet294 294 etp37g 37 100000 off 7 +Ethernet295 295 etp37h 37 100000 off 8 +Ethernet304 304 etp39a 39 100000 off 1 +Ethernet305 305 etp39b 39 100000 off 2 +Ethernet306 306 etp39c 39 100000 off 3 +Ethernet307 307 etp39d 39 100000 off 4 +Ethernet308 308 etp39e 39 100000 off 5 +Ethernet309 309 etp39f 39 100000 off 6 +Ethernet310 310 etp39g 39 100000 off 7 +Ethernet311 311 etp39h 39 100000 off 8 +Ethernet320 320 etp41a 41 100000 off 1 +Ethernet321 321 etp41b 41 100000 off 2 +Ethernet322 322 etp41c 41 100000 off 3 +Ethernet323 323 etp41d 41 100000 off 4 +Ethernet324 324 etp41e 41 100000 off 5 +Ethernet325 325 etp41f 41 100000 off 6 +Ethernet326 326 etp41g 41 100000 off 7 +Ethernet327 327 etp41h 41 100000 off 8 +Ethernet336 336 etp43a 43 100000 off 1 +Ethernet337 337 etp43b 43 100000 off 2 +Ethernet338 338 etp43c 43 100000 off 3 +Ethernet339 339 etp43d 43 100000 off 4 +Ethernet340 340 etp43e 43 100000 off 5 +Ethernet341 341 etp43f 43 100000 off 6 +Ethernet342 342 etp43g 43 100000 off 7 +Ethernet343 343 etp43h 43 100000 off 8 +Ethernet352 352 etp45a 45 100000 off 1 +Ethernet353 353 etp45b 45 100000 off 2 +Ethernet354 354 etp45c 45 100000 off 3 +Ethernet355 355 etp45d 45 100000 off 4 +Ethernet356 356 etp45e 45 100000 off 5 +Ethernet357 357 etp45f 45 100000 off 6 +Ethernet358 358 etp45g 45 100000 off 7 +Ethernet359 359 etp45h 45 100000 off 8 +Ethernet368 368 etp47a 47 100000 off 1 +Ethernet369 369 etp47b 47 100000 off 2 +Ethernet370 370 etp47c 47 100000 off 3 +Ethernet371 371 etp47d 47 100000 off 4 +Ethernet372 372 etp47e 47 100000 off 5 +Ethernet373 373 etp47f 47 100000 off 6 +Ethernet374 374 etp47g 47 100000 off 7 +Ethernet375 375 etp47h 47 100000 off 8 +Ethernet384 384 etp49a 49 100000 off 1 +Ethernet385 385 etp49b 49 100000 off 2 +Ethernet386 386 etp49c 49 100000 off 3 +Ethernet387 387 etp49d 49 100000 off 4 +Ethernet388 388 etp49e 49 100000 off 5 +Ethernet389 389 etp49f 49 100000 off 6 +Ethernet390 390 etp49g 49 100000 off 7 +Ethernet391 391 etp49h 49 100000 off 8 +Ethernet400 400 etp51a 51 100000 off 1 +Ethernet401 401 etp51b 51 100000 off 2 +Ethernet402 402 etp51c 51 100000 off 3 +Ethernet403 403 etp51d 51 100000 off 4 +Ethernet404 404 etp51e 51 100000 off 5 +Ethernet405 405 etp51f 51 100000 off 6 +Ethernet406 406 etp51g 51 100000 off 7 +Ethernet407 407 etp51h 51 100000 off 8 +Ethernet416 416 etp53a 53 100000 off 1 +Ethernet417 417 etp53b 53 100000 off 2 +Ethernet418 418 etp53c 53 100000 off 3 +Ethernet419 419 etp53d 53 100000 off 4 +Ethernet420 420 etp53e 53 100000 off 5 +Ethernet421 421 etp53f 53 100000 off 6 +Ethernet422 422 etp53g 53 100000 off 7 +Ethernet423 423 etp53h 53 100000 off 8 +Ethernet432 432 etp55a 55 100000 off 1 +Ethernet433 433 etp55b 55 100000 off 2 +Ethernet434 434 etp55c 55 100000 off 3 +Ethernet435 435 etp55d 55 100000 off 4 +Ethernet436 436 etp55e 55 100000 off 5 +Ethernet437 437 etp55f 55 100000 off 6 +Ethernet438 438 etp55g 55 100000 off 7 +Ethernet439 439 etp55h 55 100000 off 8 +Ethernet448 448 etp57a 57 100000 off 1 +Ethernet449 449 etp57b 57 100000 off 2 +Ethernet450 450 etp57c 57 100000 off 3 +Ethernet451 451 etp57d 57 100000 off 4 +Ethernet452 452 etp57e 57 100000 off 5 +Ethernet453 453 etp57f 57 100000 off 6 +Ethernet454 454 etp57g 57 100000 off 7 +Ethernet455 455 etp57h 57 100000 off 8 +Ethernet464 464 etp59a 59 100000 off 1 +Ethernet465 465 etp59b 59 100000 off 2 +Ethernet466 466 etp59c 59 100000 off 3 +Ethernet467 467 etp59d 59 100000 off 4 +Ethernet468 468 etp59e 59 100000 off 5 +Ethernet469 469 etp59f 59 100000 off 6 +Ethernet470 470 etp59g 59 100000 off 7 +Ethernet471 471 etp59h 59 100000 off 8 +Ethernet480 480 etp61a 61 100000 off 1 +Ethernet481 481 etp61b 61 100000 off 2 +Ethernet482 482 etp61c 61 100000 off 3 +Ethernet483 483 etp61d 61 100000 off 4 +Ethernet484 484 etp61e 61 100000 off 5 +Ethernet485 485 etp61f 61 100000 off 6 +Ethernet486 486 etp61g 61 100000 off 7 +Ethernet487 487 etp61h 61 100000 off 8 +Ethernet496 496 etp63a 63 100000 off 1 +Ethernet497 497 etp63b 63 100000 off 2 +Ethernet498 498 etp63c 63 100000 off 3 +Ethernet499 499 etp63d 63 100000 off 4 +Ethernet500 500 etp63e 63 100000 off 5 +Ethernet501 501 etp63f 63 100000 off 6 +Ethernet502 502 etp63g 63 100000 off 7 +Ethernet503 503 etp63h 63 100000 off 8 +Ethernet512 512 etp65 65 10000 +Ethernet520 520 etp66 66 10000 diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 new file mode 100644 index 000000000000..6acecb954a6e --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 @@ -0,0 +1,170 @@ +{# + SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + Copyright (c) 2025 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. +#} + +{%- macro generate_dscp_to_tc_map_per_sku() -%} + "DSCP_TO_TC_MAP": { + "AZURE": { + "0" : "6", + "1" : "1", + "2" : "2", + "3" : "3", + "4" : "3", + "5" : "4", + "6" : "5", + "7" : "0", + "8" : "0", + "9" : "0", + "10": "0", + "11": "0", + "12": "0", + "13": "0", + "14": "0", + "15": "0", + "16": "0", + "17": "0", + "18": "0", + "19": "0", + "20": "0", + "21": "0", + "22": "0", + "23": "0", + "24": "0", + "25": "0", + "26": "0", + "27": "0", + "28": "0", + "29": "0", + "30": "0", + "31": "0", + "32": "0", + "33": "0", + "34": "0", + "35": "0", + "36": "0", + "37": "0", + "38": "0", + "39": "0", + "40": "0", + "41": "0", + "42": "0", + "43": "0", + "44": "0", + "45": "0", + "46": "0", + "47": "0", + "48": "0", + "49": "0", + "50": "0", + "51": "0", + "52": "0", + "53": "0", + "54": "0", + "55": "0", + "56": "0", + "57": "0", + "58": "0", + "59": "0", + "60": "0", + "61": "0", + "62": "0", + "63": "0" + } + }, +{%- endmacro -%} +{%- macro generate_tc_to_pg_map_per_sku() -%} + "TC_TO_PRIORITY_GROUP_MAP": { + "AZURE": { + "0": "0", + "1": "0", + "2": "0", + "3": "0", + "4": "0", + "5": "0", + "6": "0", + "7": "0" + } + }, +{%- endmacro -%} + +{%- macro generate_scheduler_per_sku() -%} + "SCHEDULER": { + "scheduler.1": { + "type" : "DWRR", + "weight": "1" + }, + "scheduler.10": { + "type" : "DWRR", + "weight": "10" + }, + "scheduler.12": { + "type" : "DWRR", + "weight": "12" + }, + "scheduler.32": { + "type" : "DWRR", + "weight": "32" + } + }, +{%- endmacro -%} + +{%- macro generate_single_queue_per_sku(port) -%} + "{{ port }}|0": { + "scheduler": "scheduler.1" + }, + "{{ port }}|1": { + "scheduler": "scheduler.10" + }, + "{{ port }}|2": { + "scheduler": "scheduler.12" + }, + "{{ port }}|3": { + "scheduler": "scheduler.12" + }, + "{{ port }}|4": { + "scheduler": "scheduler.32" + }, + "{{ port }}|5": { + "scheduler": "scheduler.32" + }, + "{{ port }}|6": { + "scheduler": "scheduler.1" + } +{%- endmacro -%} + +{%- macro generate_global_dscp_to_tc_map() %} +{# This is an empty macro since the global DSCP_TO_TC map is not required #} +{%- endmacro %} + +{%- macro generate_wred_profiles() %} + "WRED_PROFILE": { + "AZURE_LOSSLESS" : { + "wred_green_enable" : "true", + "wred_yellow_enable" : "true", + "wred_red_enable" : "true", + "ecn" : "ecn_all", + "green_max_threshold" : "10000000", + "green_min_threshold" : "2000000", + "yellow_max_threshold" : "10000000", + "yellow_min_threshold" : "2000000", + "red_max_threshold" : "10000000", + "red_min_threshold" : "2000000", + "green_drop_probability" : "5", + "yellow_drop_probability": "5", + "red_drop_probability" : "5" + } + }, +{%- endmacro %} + +{%- include 'qos_config.j2' %} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai.profile b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai.profile new file mode 100644 index 000000000000..b9b78d462b86 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai.profile @@ -0,0 +1,4 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_5610n_256x100g.xml +SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1 +SAI_INDEPENDENT_MODULE_MODE=1 +SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1 diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai_5610n_256x100g.xml b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai_5610n_256x100g.xml new file mode 100644 index 000000000000..b0fb1340857e --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai_5610n_256x100g.xml @@ -0,0 +1,635 @@ + + + + + + + 00:77:66:55:44:00 + + + 0 + + + 66 + + + + + 1 + 8 + 34 + 3 + 32768 + 2 + true + + + 5 + 8 + 35 + 3 + 32768 + 2 + true + + + 9 + 8 + 33 + 3 + 32768 + 2 + true + + + 13 + 8 + 32 + 3 + 32768 + 2 + true + + + 17 + 8 + 38 + 3 + 32768 + 2 + true + + + 21 + 8 + 39 + 3 + 32768 + 2 + true + + + 25 + 8 + 37 + 3 + 32768 + 2 + true + + + 29 + 8 + 36 + 3 + 32768 + 2 + true + + + 33 + 8 + 42 + 3 + 32768 + 2 + true + + + 37 + 8 + 43 + 3 + 32768 + 2 + true + + + 41 + 8 + 41 + 3 + 32768 + 2 + true + + + 45 + 8 + 40 + 3 + 32768 + 2 + true + + + 49 + 8 + 46 + 3 + 32768 + 2 + true + + + 53 + 8 + 47 + 3 + 32768 + 2 + true + + + 57 + 8 + 45 + 3 + 32768 + 2 + true + + + 61 + 8 + 44 + 3 + 32768 + 2 + true + + + 65 + 8 + 51 + 3 + 32768 + 2 + true + + + 69 + 8 + 50 + 3 + 32768 + 2 + true + + + 73 + 8 + 48 + 3 + 32768 + 2 + true + + + 77 + 8 + 49 + 3 + 32768 + 2 + true + + + 81 + 8 + 55 + 3 + 32768 + 2 + true + + + 85 + 8 + 54 + 3 + 32768 + 2 + true + + + 89 + 8 + 52 + 3 + 32768 + 2 + true + + + 93 + 8 + 53 + 3 + 32768 + 2 + true + + + 97 + 8 + 59 + 3 + 32768 + 2 + true + + + 101 + 8 + 58 + 3 + 32768 + 2 + true + + + 105 + 8 + 56 + + + 3 + + + 32768 + 2 + true + + + 109 + 8 + 57 + 3 + 32768 + 2 + true + + + 113 + 8 + 63 + 3 + 32768 + 2 + true + + + 117 + 8 + 62 + 3 + 32768 + 2 + true + + + 121 + 8 + 60 + 3 + 32768 + 2 + true + + + 125 + 8 + 61 + 3 + 32768 + 2 + true + + + 129 + 8 + 29 + 3 + 32768 + 2 + true + + + 133 + 8 + 28 + 3 + 32768 + 2 + true + + + 137 + 8 + 30 + 3 + 32768 + 2 + true + + + 141 + 8 + 31 + 3 + 32768 + 2 + true + + + 145 + 8 + 25 + 3 + 32768 + 2 + true + + + 149 + 8 + 24 + 3 + 32768 + 2 + true + + + 153 + 8 + 26 + 3 + 32768 + 2 + true + + + 157 + 8 + 27 + 3 + 32768 + 2 + true + + + 161 + 8 + 21 + 3 + 32768 + 2 + true + + + 165 + 8 + 20 + 3 + 32768 + 2 + true + + + 169 + 8 + 22 + 3 + 32768 + 2 + true + + + 173 + 8 + 23 + 3 + 32768 + 2 + true + + + 177 + 8 + 17 + 3 + 32768 + 2 + true + + + 181 + 8 + 16 + 3 + 32768 + 2 + true + + + 185 + 8 + 18 + 3 + 32768 + 2 + true + + + 189 + 8 + 19 + 3 + 32768 + 2 + true + + + 193 + 8 + 12 + 3 + 32768 + 2 + true + + + 197 + 8 + 13 + 3 + 32768 + 2 + true + + + 201 + 8 + 15 + 3 + 32768 + 2 + true + + + 205 + 8 + 14 + 3 + 32768 + 2 + true + + + 209 + 8 + 8 + 3 + 32768 + 2 + true + + + 213 + 8 + 9 + 3 + 32768 + 2 + true + + + 217 + 8 + 11 + 3 + 32768 + 2 + true + + + 221 + 8 + 10 + 3 + 32768 + 2 + true + + + 225 + 8 + 4 + 3 + 32768 + 2 + true + + + 229 + 8 + 5 + 3 + 32768 + 2 + true + + + 233 + 8 + 7 + + + 3 + + + 32768 + 2 + true + + + 237 + 8 + 6 + 3 + 32768 + 2 + true + + + 241 + 8 + 0 + 3 + 32768 + 2 + true + + + 245 + 8 + 1 + 3 + 32768 + 2 + true + + + 249 + 8 + 3 + 3 + 32768 + 2 + true + + + 253 + 8 + 2 + 3 + 32768 + 2 + true + + + 257 + 1 + 64 + 0 + 16 + true + + + 258 + 1 + 65 + 0 + 16 + true + + + + diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/supporting_bulk_counter_groups b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/supporting_bulk_counter_groups new file mode 100644 index 000000000000..178f0575d049 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/supporting_bulk_counter_groups @@ -0,0 +1 @@ +QUEUE_WATERMARK_STAT_COUNTER,PG_WATERMARK_STAT_COUNTER,PFC_WD diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/default_sku b/device/mellanox/x86_64-nvidia_sn5610n-r0/default_sku new file mode 100644 index 000000000000..c194458cb1ee --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/default_sku @@ -0,0 +1 @@ +Mellanox-SN5610N-C256S2 t1 diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf b/device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf new file mode 100644 index 000000000000..a6e41e7a871a --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf @@ -0,0 +1 @@ +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq tpm_tis.interrupts=0 nosgx ima_hash=sha384 amd_iommu=off cpufreq.default_governor=performance" diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml b/device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml new file mode 100644 index 000000000000..75bf61b923b3 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml @@ -0,0 +1,199 @@ +## +## SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES +## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +## SPDX-License-Identifier: 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. +## + +- bus: '00' + dev: '00' + fn: '0' + id: '1450' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Root Complex' +- bus: '00' + dev: '00' + fn: '2' + id: '1451' + name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O + Memory Management Unit' +- bus: '00' + dev: '01' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '00' + dev: '01' + fn: '4' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + PCIe GPP Bridge' +- bus: '00' + dev: '02' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '1' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + PCIe GPP Bridge' +- bus: '00' + dev: '04' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: 08 + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '00' + dev: 08 + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '14' + fn: '0' + id: 790b + name: 'SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)' +- bus: '00' + dev: '14' + fn: '3' + id: 790e + name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)' +- bus: '00' + dev: '18' + fn: '0' + id: '1460' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Data Fabric: Device 18h; Function 0' +- bus: '00' + dev: '18' + fn: '1' + id: '1461' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Data Fabric: Device 18h; Function 1' +- bus: '00' + dev: '18' + fn: '2' + id: '1462' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Data Fabric: Device 18h; Function 2' +- bus: '00' + dev: '18' + fn: '3' + id: '1463' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Data Fabric: Device 18h; Function 3' +- bus: '00' + dev: '18' + fn: '4' + id: '1464' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Data Fabric: Device 18h; Function 4' +- bus: '00' + dev: '18' + fn: '5' + id: '1465' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Data Fabric: Device 18h; Function 5' +- bus: '00' + dev: '18' + fn: '6' + id: '1466' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Data Fabric: Device 18h; Function 6' +- bus: '00' + dev: '18' + fn: '7' + id: '1467' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Data Fabric: Device 18h; Function 7' +- bus: '01' + dev: '00' + fn: '0' + id: '5765' + name: 'Non-Volatile memory controller: Device 1f9f:5765 (rev 01)' +- bus: '02' + dev: '00' + fn: '0' + id: cf80 + name: 'Ethernet controller: Mellanox Technologies Spectrum-4' +- bus: '03' + dev: '00' + fn: '0' + id: 145a + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] + Zeppelin/Raven/Raven2 PCIe Dummy Function' +- bus: '03' + dev: '00' + fn: '2' + id: '1456' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models + 00h-0fh) Platform Security Processor (PSP) 3.0 Device' +- bus: '03' + dev: '00' + fn: '3' + id: 145f + name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 xHCI + Compliant Host Controller' +- bus: '04' + dev: '00' + fn: '0' + id: '1455' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] + Zeppelin/Renoir PCIe Dummy Function' +- bus: '04' + dev: '00' + fn: '1' + id: '1468' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic + Coprocessor NTBCCP' +- bus: '04' + dev: '00' + fn: '3' + id: '1457' + name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + HD Audio Controller' +- bus: '04' + dev: '00' + fn: '4' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] XGMAC 10GbE Controller' diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json new file mode 100644 index 000000000000..411fe3153e09 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json @@ -0,0 +1,1344 @@ +{ + "chassis": { + "name": "SN5610N", + "components": [ + { + "name": "ONIE" + }, + { + "name": "SSD" + }, + { + "name": "BIOS" + }, + { + "name": "CPLD1" + }, + { + "name": "CPLD2" + }, + { + "name": "CPLD3" + }, + { + "name": "CPLD4" + } + ], + "fans": [], + "fan_drawers": [ + { + "name": "drawer1", + "fans": [ + { + "name": "fan1" + }, + { + "name": "fan2" + } + ] + }, + { + "name": "drawer2", + "fans": [ + { + "name": "fan3" + }, + { + "name": "fan4" + } + ] + }, + { + "name": "drawer3", + "fans": [ + { + "name": "fan5" + }, + { + "name": "fan6" + } + ] + }, + { + "name": "drawer4", + "fans": [ + { + "name": "fan7" + }, + { + "name": "fan8" + } + ] + }, + { + "name": "drawer5", + "fans": [ + { + "name": "fan9" + }, + { + "name": "fan10" + } + ] + } + ], + "psus": [ + { + "name": "PSU 1", + "fans": [ + { + "name": "psu1_fan1" + } + ], + "thermals": [ + { + "name": "PSU-1 Temp" + } + ] + }, + { + "name": "PSU 2", + "fans": [ + { + "name": "psu2_fan1" + } + ], + "thermals": [ + { + "name": "PSU-2 Temp" + } + ] + }, + { + "name": "PSU 3", + "fans": [ + { + "name": "psu3_fan1" + } + ], + "thermals": [ + { + "name": "PSU-3 Temp" + } + ] + }, + { + "name": "PSU 4", + "fans": [ + { + "name": "psu4_fan1" + } + ], + "thermals": [ + { + "name": "PSU-4 Temp" + } + ] + } + ], + "thermals": [ + { + "name": "ASIC" + }, + { + "name": "Ambient Fan Side Temp" + }, + { + "name": "Ambient Port Side Temp" + }, + { + "name": "CPU Pack Temp" + }, + { + "name": "SODIMM 2 Temp" + } + ], + "sfps": [ + { + "name": "sfp1", + "thermals": [ + { + "name": "xSFP module 1 Temp" + } + ] + }, + { + "name": "sfp2", + "thermals": [ + { + "name": "xSFP module 2 Temp" + } + ] + }, + { + "name": "sfp3", + "thermals": [ + { + "name": "xSFP module 3 Temp" + } + ] + }, + { + "name": "sfp4", + "thermals": [ + { + "name": "xSFP module 4 Temp" + } + ] + }, + { + "name": "sfp5", + "thermals": [ + { + "name": "xSFP module 5 Temp" + } + ] + }, + { + "name": "sfp6", + "thermals": [ + { + "name": "xSFP module 6 Temp" + } + ] + }, + { + "name": "sfp7", + "thermals": [ + { + "name": "xSFP module 7 Temp" + } + ] + }, + { + "name": "sfp8", + "thermals": [ + { + "name": "xSFP module 8 Temp" + } + ] + }, + { + "name": "sfp9", + "thermals": [ + { + "name": "xSFP module 9 Temp" + } + ] + }, + { + "name": "sfp10", + "thermals": [ + { + "name": "xSFP module 10 Temp" + } + ] + }, + { + "name": "sfp11", + "thermals": [ + { + "name": "xSFP module 11 Temp" + } + ] + }, + { + "name": "sfp12", + "thermals": [ + { + "name": "xSFP module 12 Temp" + } + ] + }, + { + "name": "sfp13", + "thermals": [ + { + "name": "xSFP module 13 Temp" + } + ] + }, + { + "name": "sfp14", + "thermals": [ + { + "name": "xSFP module 14 Temp" + } + ] + }, + { + "name": "sfp15", + "thermals": [ + { + "name": "xSFP module 15 Temp" + } + ] + }, + { + "name": "sfp16", + "thermals": [ + { + "name": "xSFP module 16 Temp" + } + ] + }, + { + "name": "sfp17", + "thermals": [ + { + "name": "xSFP module 17 Temp" + } + ] + }, + { + "name": "sfp18", + "thermals": [ + { + "name": "xSFP module 18 Temp" + } + ] + }, + { + "name": "sfp19", + "thermals": [ + { + "name": "xSFP module 19 Temp" + } + ] + }, + { + "name": "sfp20", + "thermals": [ + { + "name": "xSFP module 20 Temp" + } + ] + }, + { + "name": "sfp21", + "thermals": [ + { + "name": "xSFP module 21 Temp" + } + ] + }, + { + "name": "sfp22", + "thermals": [ + { + "name": "xSFP module 22 Temp" + } + ] + }, + { + "name": "sfp23", + "thermals": [ + { + "name": "xSFP module 23 Temp" + } + ] + }, + { + "name": "sfp24", + "thermals": [ + { + "name": "xSFP module 24 Temp" + } + ] + }, + { + "name": "sfp25", + "thermals": [ + { + "name": "xSFP module 25 Temp" + } + ] + }, + { + "name": "sfp26", + "thermals": [ + { + "name": "xSFP module 26 Temp" + } + ] + }, + { + "name": "sfp27", + "thermals": [ + { + "name": "xSFP module 27 Temp" + } + ] + }, + { + "name": "sfp28", + "thermals": [ + { + "name": "xSFP module 28 Temp" + } + ] + }, + { + "name": "sfp29", + "thermals": [ + { + "name": "xSFP module 29 Temp" + } + ] + }, + { + "name": "sfp30", + "thermals": [ + { + "name": "xSFP module 30 Temp" + } + ] + }, + { + "name": "sfp31", + "thermals": [ + { + "name": "xSFP module 31 Temp" + } + ] + }, + { + "name": "sfp32", + "thermals": [ + { + "name": "xSFP module 32 Temp" + } + ] + }, + { + "name": "sfp33", + "thermals": [ + { + "name": "xSFP module 33 Temp" + } + ] + }, + { + "name": "sfp34", + "thermals": [ + { + "name": "xSFP module 34 Temp" + } + ] + }, + { + "name": "sfp35", + "thermals": [ + { + "name": "xSFP module 35 Temp" + } + ] + }, + { + "name": "sfp36", + "thermals": [ + { + "name": "xSFP module 36 Temp" + } + ] + }, + { + "name": "sfp37", + "thermals": [ + { + "name": "xSFP module 37 Temp" + } + ] + }, + { + "name": "sfp38", + "thermals": [ + { + "name": "xSFP module 38 Temp" + } + ] + }, + { + "name": "sfp39", + "thermals": [ + { + "name": "xSFP module 39 Temp" + } + ] + }, + { + "name": "sfp40", + "thermals": [ + { + "name": "xSFP module 40 Temp" + } + ] + }, + { + "name": "sfp41", + "thermals": [ + { + "name": "xSFP module 41 Temp" + } + ] + }, + { + "name": "sfp42", + "thermals": [ + { + "name": "xSFP module 42 Temp" + } + ] + }, + { + "name": "sfp43", + "thermals": [ + { + "name": "xSFP module 43 Temp" + } + ] + }, + { + "name": "sfp44", + "thermals": [ + { + "name": "xSFP module 44 Temp" + } + ] + }, + { + "name": "sfp45", + "thermals": [ + { + "name": "xSFP module 45 Temp" + } + ] + }, + { + "name": "sfp46", + "thermals": [ + { + "name": "xSFP module 46 Temp" + } + ] + }, + { + "name": "sfp47", + "thermals": [ + { + "name": "xSFP module 47 Temp" + } + ] + }, + { + "name": "sfp48", + "thermals": [ + { + "name": "xSFP module 48 Temp" + } + ] + }, + { + "name": "sfp49", + "thermals": [ + { + "name": "xSFP module 49 Temp" + } + ] + }, + { + "name": "sfp50", + "thermals": [ + { + "name": "xSFP module 50 Temp" + } + ] + }, + { + "name": "sfp51", + "thermals": [ + { + "name": "xSFP module 51 Temp" + } + ] + }, + { + "name": "sfp52", + "thermals": [ + { + "name": "xSFP module 52 Temp" + } + ] + }, + { + "name": "sfp53", + "thermals": [ + { + "name": "xSFP module 53 Temp" + } + ] + }, + { + "name": "sfp54", + "thermals": [ + { + "name": "xSFP module 54 Temp" + } + ] + }, + { + "name": "sfp55", + "thermals": [ + { + "name": "xSFP module 55 Temp" + } + ] + }, + { + "name": "sfp56", + "thermals": [ + { + "name": "xSFP module 56 Temp" + } + ] + }, + { + "name": "sfp57", + "thermals": [ + { + "name": "xSFP module 57 Temp" + } + ] + }, + { + "name": "sfp58", + "thermals": [ + { + "name": "xSFP module 58 Temp" + } + ] + }, + { + "name": "sfp59", + "thermals": [ + { + "name": "xSFP module 59 Temp" + } + ] + }, + { + "name": "sfp60", + "thermals": [ + { + "name": "xSFP module 60 Temp" + } + ] + }, + { + "name": "sfp61", + "thermals": [ + { + "name": "xSFP module 61 Temp" + } + ] + }, + { + "name": "sfp62", + "thermals": [ + { + "name": "xSFP module 62 Temp" + } + ] + }, + { + "name": "sfp63", + "thermals": [ + { + "name": "xSFP module 63 Temp" + } + ] + }, + { + "name": "sfp64", + "thermals": [ + { + "name": "xSFP module 64 Temp" + } + ] + }, + { + "name": "sfp65", + "thermals": [ + { + "name": "xSFP module 65 Temp" + } + ] + }, + { + "name": "sfp66", + "thermals": [ + { + "name": "xSFP module 66 Temp" + } + ] + } + ] + }, + "interfaces": { + "Ethernet0": { + "index": "1,1,1,1,1,1,1,1", + "lanes": "0,1,2,3,4,5,6,7", + "breakout_modes": { + "1x400G": ["etp1"], + "2x400G[200G]": ["etp1a", "etp1b"], + "4x200G[100G]": ["etp1a", "etp1b", "etp1c", "etp1d"], + "8x100G[50G]": ["etp1a", "etp1b", "etp1c", "etp1d", "etp1e", "etp1f", "etp1g", "etp1h"] + } + }, + "Ethernet8": { + "index": "2,2,2,2,2,2,2,2", + "lanes": "8,9,10,11,12,13,14,15", + "breakout_modes": { + "1x400G": ["etp2"], + "2x400G[200G]": ["etp2a", "etp2b"], + "4x200G[100G]": ["etp2a", "etp2b", "etp2c", "etp2d"], + "8x100G[50G]": ["etp2a", "etp2b", "etp2c", "etp2d", "etp2e", "etp2f", "etp2g","etp2h"] + } + }, + "Ethernet16": { + "index": "3,3,3,3,3,3,3,3", + "lanes": "16,17,18,19,20,21,22,23", + "breakout_modes": { + "1x400G": ["etp3"], + "2x400G[200G]": ["etp3a", "etp3b"], + "4x200G[100G]": ["etp3a", "etp3b", "etp3c", "etp3d"], + "8x100G[50G]": ["etp3a", "etp3b", "etp3c", "etp3d", "etp3e", "etp3f", "etp3g", "etp3h"] + } + }, + "Ethernet24": { + "index": "4,4,4,4,4,4,4,4", + "lanes": "24,25,26,27,28,29,30,31", + "breakout_modes": { + "1x400G": ["etp4"], + "2x400G[200G]": ["etp4a", "etp4b"], + "4x200G[100G]": ["etp4a", "etp4b", "etp4c", "etp4d"], + "8x100G[50G]": ["etp4a", "etp4b", "etp4c", "etp4d", "etp4e", "etp4f", "etp4g", "etp4h"] + } + }, + "Ethernet32": { + "index": "5,5,5,5,5,5,5,5", + "lanes": "32,33,34,35,36,37,38,39", + "breakout_modes": { + "1x400G": ["etp5"], + "2x400G[200G]": ["etp5a", "etp5b"], + "4x200G[100G]": ["etp5a", "etp5b", "etp5c", "etp5d"], + "8x100G[50G]": ["etp5a", "etp5b", "etp5c", "etp5d", "etp5e", "etp5f", "etp5g", "etp5h"] + } + }, + "Ethernet40": { + "index": "6,6,6,6,6,6,6,6", + "lanes": "40,41,42,43,44,45,46,47", + "breakout_modes": { + "1x400G": ["etp6"], + "2x400G[200G]": ["etp6a", "etp6b"], + "4x200G[100G]": ["etp6a", "etp6b", "etp6c", "etp6d"], + "8x100G[50G]": ["etp6a", "etp6b", "etp6c", "etp6d", "etp6e", "etp6f", "etp6g", "etp6h"] + } + }, + "Ethernet48": { + "index": "7,7,7,7,7,7,7,7", + "lanes": "48,49,50,51,52,53,54,55", + "breakout_modes": { + "1x400G": ["etp7"], + "2x400G[200G]": ["etp7a", "etp7b"], + "4x200G[100G]": ["etp7a", "etp7b", "etp7c", "etp7d"], + "8x100G[50G]": ["etp7a", "etp7b", "etp7c", "etp7d", "etp7e", "etp7f", "etp7g", "etp7h"] + } + }, + "Ethernet56": { + "index": "8,8,8,8,8,8,8,8", + "lanes": "56,57,58,59,60,61,62,63", + "breakout_modes": { + "1x400G": ["etp8"], + "2x400G[200G]": ["etp8a", "etp8b"], + "4x200G[100G]": ["etp8a", "etp8b", "etp8c", "etp8d"], + "8x100G[50G]": ["etp8a", "etp8b", "etp8c", "etp8d", "etp8e", "etp8f", "etp8g", "etp8h"] + } + }, + "Ethernet64": { + "index": "9,9,9,9,9,9,9,9", + "lanes": "64,65,66,67,68,69,70,71", + "breakout_modes": { + "1x400G": ["etp9"], + "2x400G[200G]": ["etp9a", "etp9b"], + "4x200G[100G]": ["etp9a", "etp9b", "etp9c", "etp9d"], + "8x100G[50G]": ["etp9a", "etp9b", "etp9c", "etp9d", "etp9e", "etp9f", "etp9g", "etp9h"] + } + }, + "Ethernet72": { + "index": "10,10,10,10,10,10,10,10", + "lanes": "72,73,74,75,76,77,78,79", + "breakout_modes": { + "1x400G": ["etp10"], + "2x400G[200G]": ["etp10a", "etp10b"], + "4x200G[100G]": ["etp10a", "etp10b", "etp10c", "etp10d"], + "8x100G[50G]": ["etp10a", "etp10b", "etp10c", "etp10d", "etp10e", "etp10f", "etp10g", "etp10h"] + } + }, + "Ethernet80": { + "index": "11,11,11,11,11,11,11,11", + "lanes": "80,81,82,83,84,85,86,87", + "breakout_modes": { + "1x400G": ["etp11"], + "2x400G[200G]": ["etp11a", "etp11b"], + "4x200G[100G]": ["etp11a", "etp11b", "etp11c", "etp11d"], + "8x100G[50G]": ["etp11a", "etp11b", "etp11c", "etp11d", "etp11e", "etp11f", "etp11g", "etp11h"] + } + }, + "Ethernet88": { + "index": "12,12,12,12,12,12,12,12", + "lanes": "88,89,90,91,92,93,94,95", + "breakout_modes": { + "1x400G": ["etp12"], + "2x400G[200G]": ["etp12a", "etp12b"], + "4x200G[100G]": ["etp12a", "etp12b", "etp12c", "etp12d"], + "8x100G[50G]": ["etp12a", "etp12b", "etp12c", "etp12d", "etp12e", "etp12f", "etp12g", "etp12h"] + } + }, + "Ethernet96": { + "index": "13,13,13,13,13,13,13,13", + "lanes": "96,97,98,99,100,101,102,103", + "breakout_modes": { + "1x400G": ["etp13"], + "2x400G[200G]": ["etp13a", "etp13b"], + "4x200G[100G]": ["etp13a", "etp13b", "etp13c", "etp13d"], + "8x100G[50G]": ["etp13a", "etp13b", "etp13c", "etp13d", "etp13e", "etp13f", "etp13g", "etp13h"] + } + }, + "Ethernet104": { + "index": "14,14,14,14,14,14,14,14", + "lanes": "104,105,106,107,108,109,110,111", + "breakout_modes": { + "1x400G": ["etp14"], + "2x400G[200G]": ["etp14a", "etp14b"], + "4x200G[100G]": ["etp14a", "etp14b", "etp14c", "etp14d"], + "8x100G[50G]": ["etp14a", "etp14b", "etp14c", "etp14d", "etp14e", "etp14f", "etp14g", "etp14h"] + } + }, + "Ethernet112": { + "index": "15,15,15,15,15,15,15,15", + "lanes": "112,113,114,115,116,117,118,119", + "breakout_modes": { + "1x400G": ["etp15"], + "2x400G[200G]": ["etp15a", "etp15b"], + "4x200G[100G]": ["etp15a", "etp15b", "etp15c", "etp15d"], + "8x100G[50G]": ["etp15a", "etp15b", "etp15c", "etp15d", "etp15e", "etp15f", "etp15g", "etp15h"] + } + }, + "Ethernet120": { + "index": "16,16,16,16,16,16,16,16", + "lanes": "120,121,122,123,124,125,126,127", + "breakout_modes": { + "1x400G": ["etp16"], + "2x400G[200G]": ["etp16a", "etp16b"], + "4x200G[100G]": ["etp16a", "etp16b", "etp16c", "etp16d"], + "8x100G[50G]": ["etp16a", "etp16b", "etp16c", "etp16d", "etp16e", "etp16f", "etp16g", "etp16h"] + } + }, + "Ethernet128": { + "index": "17,17,17,17,17,17,17,17", + "lanes": "128,129,130,131,132,133,134,135", + "breakout_modes": { + "1x400G": ["etp17"], + "2x400G[200G]": ["etp17a", "etp17b"], + "4x200G[100G]": ["etp17a", "etp17b", "etp17c", "etp17d"], + "8x100G[50G]": ["etp17a", "etp17b", "etp17c", "etp17d", "etp17e", "etp17f", "etp17g", "etp17h"] + } + }, + "Ethernet136": { + "index": "18,18,18,18,18,18,18,18", + "lanes": "136,137,138,139,140,141,142,143", + "breakout_modes": { + "1x400G": ["etp18"], + "2x400G[200G]": ["etp18a", "etp18b"], + "4x200G[100G]": ["etp18a", "etp18b", "etp18c", "etp18d"], + "8x100G[50G]": ["etp18a", "etp18b", "etp18c", "etp18d", "etp18e", "etp18f", "etp18g", "etp18h"] + } + }, + "Ethernet144": { + "index": "19,19,19,19,19,19,19,19", + "lanes": "144,145,146,147,148,149,150,151", + "breakout_modes": { + "1x400G": ["etp19"], + "2x400G[200G]": ["etp19a", "etp19b"], + "4x200G[100G]": ["etp19a", "etp19b", "etp19c", "etp19d"], + "8x100G[50G]": ["etp19a", "etp19b", "etp19c", "etp19d", "etp19e", "etp19f", "etp19g", "etp19h"] + } + }, + "Ethernet152": { + "index": "20,20,20,20,20,20,20,20", + "lanes": "152,153,154,155,156,157,158,159", + "breakout_modes": { + "1x400G": ["etp20"], + "2x400G[200G]": ["etp20a", "etp20b"], + "4x200G[100G]": ["etp20a", "etp20b", "etp20c", "etp20d"], + "8x100G[50G]": ["etp20a", "etp20b", "etp20c", "etp20d", "etp20e", "etp20f", "etp20g", "etp20h"] + } + }, + "Ethernet160": { + "index": "21,21,21,21,21,21,21,21", + "lanes": "160,161,162,163,164,165,166,167", + "breakout_modes": { + "1x400G": ["etp21"], + "2x400G[200G]": ["etp21a", "etp21b"], + "4x200G[100G]": ["etp21a", "etp21b", "etp21c", "etp21d"], + "8x100G[50G]": ["etp21a", "etp21b", "etp21c", "etp21d", "etp21e", "etp21f", "etp21g", "etp21h"] + } + }, + "Ethernet168": { + "index": "22,22,22,22,22,22,22,22", + "lanes": "168,169,170,171,172,173,174,175", + "breakout_modes": { + "1x400G": ["etp22"], + "2x400G[200G]": ["etp22a", "etp22b"], + "4x200G[100G]": ["etp22a", "etp22b", "etp22c", "etp22d"], + "8x100G[50G]": ["etp22a", "etp22b", "etp22c", "etp22d", "etp22e", "etp22f", "etp22g", "etp22h"] + } + }, + "Ethernet176": { + "index": "23,23,23,23,23,23,23,23", + "lanes": "176,177,178,179,180,181,182,183", + "breakout_modes": { + "1x400G": ["etp23"], + "2x400G[200G]": ["etp23a", "etp23b"], + "4x200G[100G]": ["etp23a", "etp23b", "etp23c", "etp23d"], + "8x100G[50G]": ["etp23a", "etp23b", "etp23c", "etp23d", "etp23e", "etp23f", "etp23g", "etp23h"] + } + }, + "Ethernet184": { + "index": "24,24,24,24,24,24,24,24", + "lanes": "184,185,186,187,188,189,190,191", + "breakout_modes": { + "1x400G": ["etp24"], + "2x400G[200G]": ["etp24a", "etp24b"], + "4x200G[100G]": ["etp24a", "etp24b", "etp24c", "etp24d"], + "8x100G[50G]": ["etp24a", "etp24b", "etp24c", "etp24d", "etp24e", "etp24f", "etp24g", "etp24h"] + } + }, + "Ethernet192": { + "index": "25,25,25,25,25,25,25,25", + "lanes": "192,193,194,195,196,197,198,199", + "breakout_modes": { + "1x400G": ["etp25"], + "2x400G[200G]": ["etp25a", "etp25b"], + "4x200G[100G]": ["etp25a", "etp25b", "etp25c", "etp25d"], + "8x100G[50G]": ["etp25a", "etp25b", "etp25c", "etp25d", "etp25e", "etp25f", "etp25g", "etp25h"] + } + }, + "Ethernet200": { + "index": "26,26,26,26,26,26,26,26", + "lanes": "200,201,202,203,204,205,206,207", + "breakout_modes": { + "1x400G": ["etp26"], + "2x400G[200G]": ["etp26a", "etp26b"], + "4x200G[100G]": ["etp26a", "etp26b", "etp26c", "etp26d"], + "8x100G[50G]": ["etp26a", "etp26b", "etp26c", "etp26d", "etp26e", "etp26f", "etp26g", "etp26h"] + } + }, + "Ethernet208": { + "index": "27,27,27,27,27,27,27,27", + "lanes": "208,209,210,211,212,213,214,215", + "breakout_modes": { + "1x400G": ["etp27"], + "2x400G[200G]": ["etp27a", "etp27b"], + "4x200G[100G]": ["etp27a", "etp27b", "etp27c", "etp27d"], + "8x100G[50G]": ["etp27a", "etp27b", "etp27c", "etp27d", "etp27e", "etp27f", "etp27g", "etp27h"] + } + }, + "Ethernet216": { + "index": "28,28,28,28,28,28,28,28", + "lanes": "216,217,218,219,220,221,222,223", + "breakout_modes": { + "1x400G": ["etp28"], + "2x400G[200G]": ["etp28a", "etp28b"], + "4x200G[100G]": ["etp28a", "etp28b", "etp28c", "etp28d"], + "8x100G[50G]": ["etp28a", "etp28b", "etp28c", "etp28d", "etp28e", "etp28f", "etp28g", "etp28h"] + } + }, + "Ethernet224": { + "index": "29,29,29,29,29,29,29,29", + "lanes": "224,225,226,227,228,229,230,231", + "breakout_modes": { + "1x400G": ["etp29"], + "2x400G[200G]": ["etp29a", "etp29b"], + "4x200G[100G]": ["etp29a", "etp29b", "etp29c", "etp29d"], + "8x100G[50G]": ["etp29a", "etp29b", "etp29c", "etp29d", "etp29e", "etp29f", "etp29g", "etp29h"] + } + }, + "Ethernet232": { + "index": "30,30,30,30,30,30,30,30", + "lanes": "232,233,234,235,236,237,238,239", + "breakout_modes": { + "1x400G": ["etp30"], + "2x400G[200G]": ["etp30a", "etp30b"], + "4x200G[100G]": ["etp30a", "etp30b", "etp30c", "etp30d"], + "8x100G[50G]": ["etp30a", "etp30b", "etp30c", "etp30d", "etp30e", "etp30f", "etp30g", "etp30h"] + } + }, + "Ethernet240": { + "index": "31,31,31,31,31,31,31,31", + "lanes": "240,241,242,243,244,245,246,247", + "breakout_modes": { + "1x400G": ["etp31"], + "2x400G[200G]": ["etp31a", "etp31b"], + "4x200G[100G]": ["etp31a", "etp31b", "etp31c", "etp31d"], + "8x100G[50G]": ["etp31a", "etp31b", "etp31c", "etp31d", "etp31e", "etp31f", "etp31g", "etp31h"] + } + }, + "Ethernet248": { + "index": "32,32,32,32,32,32,32,32", + "lanes": "248,249,250,251,252,253,254,255", + "breakout_modes": { + "1x400G": ["etp32"], + "2x400G[200G]": ["etp32a", "etp32b"], + "4x200G[100G]": ["etp32a", "etp32b", "etp32c", "etp32d"], + "8x100G[50G]": ["etp32a", "etp32b", "etp32c", "etp32d", "etp32e", "etp32f", "etp32g", "etp32h"] + } + }, + "Ethernet256": { + "index": "33,33,33,33,33,33,33,33", + "lanes": "256,257,258,259,260,261,262,263", + "breakout_modes": { + "1x400G": ["etp33"], + "2x400G[200G]": ["etp33a", "etp33b"], + "4x200G[100G]": ["etp33a", "etp33b", "etp33c", "etp33d"], + "8x100G[50G]": ["etp33a", "etp33b", "etp33c", "etp33d", "etp33e", "etp33f", "etp33g", "etp33h"] + } + }, + "Ethernet264": { + "index": "34,34,34,34,34,34,34,34", + "lanes": "264,265,266,267,268,269,270,271", + "breakout_modes": { + "1x400G": ["etp34"], + "2x400G[200G]": ["etp34a", "etp34b"], + "4x200G[100G]": ["etp34a", "etp34b", "etp34c", "etp34d"], + "8x100G[50G]": ["etp34a", "etp34b", "etp34c", "etp34d", "etp34e", "etp34f", "etp34g", "etp34h"] + } + }, + "Ethernet272": { + "index": "35,35,35,35,35,35,35,35", + "lanes": "272,273,274,275,276,277,278,279", + "breakout_modes": { + "1x400G": ["etp35"], + "2x400G[200G]": ["etp35a", "etp35b"], + "4x200G[100G]": ["etp35a", "etp35b", "etp35c", "etp35d"], + "8x100G[50G]": ["etp35a", "etp35b", "etp35c", "etp35d", "etp35e", "etp35f", "etp35g", "etp35h"] + } + }, + "Ethernet280": { + "index": "36,36,36,36,36,36,36,36", + "lanes": "280,281,282,283,284,285,286,287", + "breakout_modes": { + "1x400G": ["etp36"], + "2x400G[200G]": ["etp36a", "etp36b"], + "4x200G[100G]": ["etp36a", "etp36b", "etp36c", "etp36d"], + "8x100G[50G]": ["etp36a", "etp36b", "etp36c", "etp36d", "etp36e", "etp36f", "etp36g", "etp36h"] + } + }, + "Ethernet288": { + "index": "37,37,37,37,37,37,37,37", + "lanes": "288,289,290,291,292,293,294,295", + "breakout_modes": { + "1x400G": ["etp37"], + "2x400G[200G]": ["etp37a", "etp37b"], + "4x200G[100G]": ["etp37a", "etp37b", "etp37c", "etp37d"], + "8x100G[50G]": ["etp37a", "etp37b", "etp37c", "etp37d", "etp37e", "etp37f", "etp37g", "etp37h"] + } + }, + "Ethernet296": { + "index": "38,38,38,38,38,38,38,38", + "lanes": "296,297,298,299,300,301,302,303", + "breakout_modes": { + "1x400G": ["etp38"], + "2x400G[200G]": ["etp38a", "etp38b"], + "4x200G[100G]": ["etp38a", "etp38b", "etp38c", "etp38d"], + "8x100G[50G]": ["etp38a", "etp38b", "etp38c", "etp38d", "etp38e", "etp38f", "etp38g", "etp38h"] + } + }, + "Ethernet304": { + "index": "39,39,39,39,39,39,39,39", + "lanes": "304,305,306,307,308,309,310,311", + "breakout_modes": { + "1x400G": ["etp39"], + "2x400G[200G]": ["etp39a", "etp39b"], + "4x200G[100G]": ["etp39a", "etp39b", "etp39c", "etp39d" ], + "8x100G[50G]": ["etp39a", "etp39b", "etp39c", "etp39d", "etp39e", "etp39f", "etp39g", "etp39h"] + } + }, + "Ethernet312": { + "index": "40,40,40,40,40,40,40,40", + "lanes": "312,313,314,315,316,317,318,319", + "breakout_modes": { + "1x400G": ["etp40"], + "2x400G[200G]": ["etp40a", "etp40b"], + "4x200G[100G]": ["etp40a", "etp40b", "etp40c", "etp40d"], + "8x100G[50G]": ["etp40a", "etp40b", "etp40c", "etp40d", "etp40e", "etp40f", "etp40g", "etp40h"] + } + }, + "Ethernet320": { + "index": "41,41,41,41,41,41,41,41", + "lanes": "320,321,322,323,324,325,326,327", + "breakout_modes": { + "1x400G": ["etp41"], + "2x400G[200G]": ["etp41a", "etp41b"], + "4x200G[100G]": ["etp41a", "etp41b", "etp41c", "etp41d"], + "8x100G[50G]": ["etp41a", "etp41b", "etp41c", "etp41d", "etp41e", "etp41f", "etp41g", "etp41h"] + } + }, + "Ethernet328": { + "index": "42,42,42,42,42,42,42,42", + "lanes": "328,329,330,331,332,333,334,335", + "breakout_modes": { + "1x400G": ["etp42"], + "2x400G[200G]": ["etp42a", "etp42b"], + "4x200G[100G]": ["etp42a", "etp42b", "etp42c", "etp42d"], + "8x100G[50G]": ["etp42a", "etp42b", "etp42c", "etp42d", "etp42e", "etp42f", "etp42g", "etp42h"] + } + }, + "Ethernet336": { + "index": "43,43,43,43,43,43,43,43", + "lanes": "336,337,338,339,340,341,342,343", + "breakout_modes": { + "1x400G": ["etp43"], + "2x400G[200G]": ["etp43a", "etp43b"], + "4x200G[100G]": ["etp43a", "etp43b", "etp43c", "etp43d"], + "8x100G[50G]": ["etp43a", "etp43b", "etp43c", "etp43d", "etp43e", "etp43f", "etp43g", "etp43h"] + } + }, + "Ethernet344": { + "index": "44,44,44,44,44,44,44,44", + "lanes": "344,345,346,347,348,349,350,351", + "breakout_modes": { + "1x400G": ["etp44"], + "2x400G[200G]": ["etp44a", "etp44b"], + "4x200G[100G]": ["etp44a", "etp44b", "etp44c", "etp44d"], + "8x100G[50G]": ["etp44a", "etp44b", "etp44c", "etp44d", "etp44e", "etp44f", "etp44g", "etp44h"] + } + }, + "Ethernet352": { + "index": "45,45,45,45,45,45,45,45", + "lanes": "352,353,354,355,356,357,358,359", + "breakout_modes": { + "1x400G": ["etp45"], + "2x400G[200G]": ["etp45a", "etp45b"], + "4x200G[100G]": ["etp45a", "etp45b", "etp45c", "etp45d"], + "8x100G[50G]": ["etp45a", "etp45b", "etp45c", "etp45d", "etp45e", "etp45f", "etp45g", "etp45h"] + } + }, + "Ethernet360": { + "index": "46,46,46,46,46,46,46,46", + "lanes": "360,361,362,363,364,365,366,367", + "breakout_modes": { + "1x400G": ["etp46"], + "2x400G[200G]": ["etp46a", "etp46b"], + "4x200G[100G]": ["etp46a", "etp46b", "etp46c", "etp46d"], + "8x100G[50G]": ["etp46a", "etp46b", "etp46c", "etp46d", "etp46e", "etp46f", "etp46g", "etp46h"] + } + }, + "Ethernet368": { + "index": "47,47,47,47,47,47,47,47", + "lanes": "368,369,370,371,372,373,374,375", + "breakout_modes": { + "1x400G": ["etp47"], + "2x400G[200G]": ["etp47a", "etp47b"], + "4x200G[100G]": ["etp47a", "etp47b", "etp47c", "etp47d"], + "8x100G[50G]": ["etp47a", "etp47b","etp47c", "etp47d", "etp47e", "etp47f", "etp47g", "etp47h"] + } + }, + "Ethernet376": { + "index": "48,48,48,48,48,48,48,48", + "lanes": "376,377,378,379,380,381,382,383", + "breakout_modes": { + "1x400G": ["etp48"], + "2x400G[200G]": ["etp48a", "etp48b"], + "4x200G[100G]": ["etp48a", "etp48b", "etp48c", "etp48d"], + "8x100G[50G]": ["etp48a", "etp48b", "etp48c", "etp48d", "etp48e", "etp48f", "etp48g", "etp48h"] + } + }, + "Ethernet384": { + "index": "49,49,49,49,49,49,49,49", + "lanes": "384,385,386,387,388,389,390,391", + "breakout_modes": { + "1x400G": ["etp49"], + "2x400G[200G]": ["etp49a", "etp49b"], + "4x200G[100G]": ["etp49a", "etp49b", "etp49c", "etp49d"], + "8x100G[50G]": ["etp49a", "etp49b", "etp49c", "etp49d", "etp49e", "etp49f", "etp49g", "etp49h"] + } + }, + "Ethernet392": { + "index": "50,50,50,50,50,50,50,50", + "lanes": "392,393,394,395,396,397,398,399", + "breakout_modes": { + "1x400G": ["etp50"], + "2x400G[200G]": ["etp50a", "etp50b"], + "4x200G[100G]": ["etp50a", "etp50b", "etp50c", "etp50d"], + "8x100G[50G]": ["etp50a", "etp50b", "etp50c", "etp50d", "etp50e", "etp50f", "etp50g", "etp50h"] + } + }, + "Ethernet400": { + "index": "51,51,51,51,51,51,51,51", + "lanes": "400,401,402,403,404,405,406,407", + "breakout_modes": { + "1x400G": ["etp51"], + "2x400G[200G]": ["etp51a", "etp51b"], + "4x200G[100G]": ["etp51a", "etp51b", "etp51c", "etp51d"], + "8x100G[50G]": ["etp51a", "etp51b", "etp51c", "etp51d", "etp51e", "etp51f", "etp51g", "etp51h"] + } + }, + "Ethernet408": { + "index": "52,52,52,52,52,52,52,52", + "lanes": "408,409,410,411,412,413,414,415", + "breakout_modes": { + "1x400G": ["etp52"], + "2x400G[200G]": ["etp52a", "etp52b"], + "4x200G[100G]": ["etp52a", "etp52b", "etp52c", "etp52d"], + "8x100G[50G]": ["etp52a", "etp52b", "etp52c", "etp52d", "etp52e", "etp52f", "etp52g", "etp52h"] + } + }, + "Ethernet416": { + "index": "53,53,53,53,53,53,53,53", + "lanes": "416,417,418,419,420,421,422,423", + "breakout_modes": { + "1x400G": ["etp53"], + "2x400G[200G]": ["etp53a", "etp53b"], + "4x200G[100G]": ["etp53a", "etp53b", "etp53c", "etp53d"], + "8x100G[50G]": ["etp53a", "etp53b", "etp53c", "etp53d", "etp53e", "etp53f", "etp53g", "etp53h"] + } + }, + "Ethernet424": { + "index": "54,54,54,54,54,54,54,54", + "lanes": "424,425,426,427,428,429,430,431", + "breakout_modes": { + "1x400G": ["etp54"], + "2x400G[200G]": ["etp54a", "etp54b"], + "4x200G[100G]": ["etp54a", "etp54b", "etp54c", "etp54d"], + "8x100G[50G]": ["etp54a", "etp54b", "etp54c", "etp54d", "etp54e", "etp54f", "etp54g", "etp54h"] + } + }, + "Ethernet432": { + "index": "55,55,55,55,55,55,55,55", + "lanes": "432,433,434,435,436,437,438,439", + "breakout_modes": { + "1x400G": ["etp55"], + "2x400G[200G]": ["etp55a", "etp55b"], + "4x200G[100G]": ["etp55a", "etp55b", "etp55c", "etp55d"], + "8x100G[50G]": ["etp55a", "etp55b", "etp55c", "etp55d", "etp55e", "etp55f", "etp55g", "etp55h"] + } + }, + "Ethernet440": { + "index": "56,56,56,56,56,56,56,56", + "lanes": "440,441,442,443,444,445,446,447", + "breakout_modes": { + "1x400G": ["etp56"], + "2x400G[200G]": ["etp56a", "etp56b"], + "4x200G[100G]": ["etp56a", "etp56b", "etp56c", "etp56d"], + "8x100G[50G]": ["etp56a", "etp56b", "etp56c", "etp56d", "etp56e", "etp56f", "etp56g", "etp56h"] + } + }, + "Ethernet448": { + "index": "57,57,57,57,57,57,57,57", + "lanes": "448,449,450,451,452,453,454,455", + "breakout_modes": { + "1x400G": ["etp57"], + "2x400G[200G]": ["etp57a", "etp57b"], + "4x200G[100G]": ["etp57a", "etp57b", "etp57c", "etp57d"], + "8x100G[50G]": ["etp57a", "etp57b", "etp57c", "etp57d", "etp57e", "etp57f", "etp57g", "etp57h"] + } + }, + "Ethernet456": { + "index": "58,58,58,58,58,58,58,58", + "lanes": "456,457,458,459,460,461,462,463", + "breakout_modes": { + "1x400G": ["etp58"], + "2x400G[200G]": ["etp58a", "etp58b"], + "4x200G[100G]": ["etp58a", "etp58b", "etp58c", "etp58d"], + "8x100G[50G]": ["etp58a", "etp58b", "etp58c", "etp58d", "etp58e", "etp58f", "etp58g", "etp58h"] + } + }, + "Ethernet464": { + "index": "59,59,59,59,59,59,59,59", + "lanes": "464,465,466,467,468,469,470,471", + "breakout_modes": { + "1x400G": ["etp59"], + "2x400G[200G]": ["etp59a", "etp59b"], + "4x200G[100G]": ["etp59a", "etp59b", "etp59c", "etp59d"], + "8x100G[50G]": ["etp59a", "etp59b", "etp59c", "etp59d", "etp59e", "etp59f", "etp59g", "etp59h"] + } + }, + "Ethernet472": { + "index": "60,60,60,60,60,60,60,60", + "lanes": "472,473,474,475,476,477,478,479", + "breakout_modes": { + "1x400G": ["etp60"], + "2x400G[200G]": ["etp60a", "etp60b"], + "4x200G[100G]": ["etp60a", "etp60b", "etp60c", "etp60d"], + "8x100G[50G]": ["etp60a", "etp60b", "etp60c", "etp60d", "etp60e", "etp60f", "etp60g", "etp60h"] + } + }, + "Ethernet480": { + "index": "61,61,61,61,61,61,61,61", + "lanes": "480,481,482,483,484,485,486,487", + "breakout_modes": { + "1x400G": ["etp61"], + "2x400G[200G]": ["etp61a", "etp61b"], + "4x200G[100G]": ["etp61a", "etp61b", "etp61c", "etp61d"], + "8x100G[50G]": ["etp61a", "etp61b", "etp61c", "etp61d", "etp61e", "etp61f", "etp61g", "etp61h"] + } + }, + "Ethernet488": { + "index": "62,62,62,62,62,62,62,62", + "lanes": "488,489,490,491,492,493,494,495", + "breakout_modes": { + "1x400G": ["etp62"], + "2x400G[200G]": ["etp62a", "etp62b"], + "4x200G[100G]": ["etp62a", "etp62b", "etp62c", "etp62d"], + "8x100G[50G]": ["etp62a", "etp62b", "etp62c", "etp62d", "etp62e", "etp62f", "etp62g", "etp62h"] + } + }, + "Ethernet496": { + "index": "63,63,63,63,63,63,63,63", + "lanes": "496,497,498,499,500,501,502,503", + "breakout_modes": { + "1x400G": ["etp63"], + "2x400G[200G]": ["etp63a", "etp63b"], + "4x200G[100G]": ["etp63a", "etp63b", "etp63c", "etp63d"], + "8x100G[50G]": ["etp63a", "etp63b", "etp63c", "etp63d", "etp63e", "etp63f", "etp63g", "etp63h"] + } + }, + "Ethernet504": { + "index": "64,64,64,64,64,64,64,64", + "lanes": "504,505,506,507,508,509,510,511", + "breakout_modes": { + "1x400G": ["etp64"], + "2x400G[200G]": ["etp64a", "etp64b"], + "4x200G[100G]": ["etp64a", "etp64b", "etp64c", "etp64d"], + "8x100G[50G]": ["etp64a", "etp64b", "etp64c", "etp64d", "etp64e", "etp64f", "etp64g", "etp64h"] + } + }, + "Ethernet512": { + "index": "65", + "lanes": "512", + "breakout_modes": { + "1x25G[10G]": ["etp65"] + } + }, + "Ethernet520": { + "index": "66", + "lanes": "520", + "breakout_modes": { + "1x25G[10G]": ["etp66"] + } + } + } +} + diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_asic b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_asic new file mode 100644 index 000000000000..70c074885557 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_components.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_components.json new file mode 100644 index 000000000000..687fb9f67a64 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_components.json @@ -0,0 +1,15 @@ +{ + "chassis": { + "SN5610N": { + "component": { + "ONIE": { }, + "SSD": { }, + "BIOS": { }, + "CPLD1": { }, + "CPLD2": { }, + "CPLD3": { }, + "CPLD4": { } + } + } + } +} diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_wait b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_wait new file mode 120000 index 000000000000..4b30bd429854 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform_wait @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/platform_wait \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/eeprom.py b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/eeprom.py new file mode 120000 index 000000000000..b4e2a6a61671 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/eeprom.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/eeprom.py \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/psuutil.py b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/psuutil.py new file mode 120000 index 000000000000..9f724238a8d5 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/psuutil.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/psuutil.py \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfplpmget.py b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfplpmget.py new file mode 120000 index 000000000000..2e84f435abd9 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfplpmget.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/sfplpmget.py \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfplpmset.py b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfplpmset.py new file mode 120000 index 000000000000..6a88bac30467 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfplpmset.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/sfplpmset.py \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfpreset.py b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfpreset.py new file mode 120000 index 000000000000..fef2063e3496 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfpreset.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/sfpreset.py \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfputil.py b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfputil.py new file mode 120000 index 000000000000..45909b880fc9 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/plugins/sfputil.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/sfputil.py \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/pmon_daemon_control.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/pmon_daemon_control.json new file mode 100644 index 000000000000..fefdfb327396 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/pmon_daemon_control.json @@ -0,0 +1,6 @@ +{ + "skip_ledd": true, + "skip_fancontrol": true, + "skip_xcvrd_cmis_mgr": true +} + diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/pmon_immediate_start b/device/mellanox/x86_64-nvidia_sn5610n-r0/pmon_immediate_start new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/pre_reboot_hook b/device/mellanox/x86_64-nvidia_sn5610n-r0/pre_reboot_hook new file mode 120000 index 000000000000..6fc31078ee86 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/pre_reboot_hook @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/pre_reboot_hook \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/psu_sensors.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/psu_sensors.json new file mode 120000 index 000000000000..5816694317d6 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/psu_sensors.json @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/psu_sensors.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/psu_sensors_conf_updater b/device/mellanox/x86_64-nvidia_sn5610n-r0/psu_sensors_conf_updater new file mode 120000 index 000000000000..b9686d838e0f --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/psu_sensors_conf_updater @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/psu_sensors_conf_updater \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/sensors.conf b/device/mellanox/x86_64-nvidia_sn5610n-r0/sensors.conf new file mode 100644 index 000000000000..cac9a5e83e79 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/sensors.conf @@ -0,0 +1,490 @@ +################################################################################## +# Copyright (c) 2019-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# +# Platform specific sensors config for SN5640 +################################################################################## + +# Fan and port ambient temperature sensors +chip "tmp102-i2c-*-49" + label temp1 "Ambient Fan Side Temp (air exhaust)" +chip "adt75-i2c-*-49" + label temp1 "Ambient Fan Side Temp (air exhaust)" +chip "stts751-i2c-*-49" + label temp1 "Ambient Fan Side Temp (air exhaust)" +chip "tmp102-i2c-*-4a" + label temp1 "Ambient Port Side Temp (air intake)" +chip "adt75-i2c-*-4a" + label temp1 "Ambient Port Side Temp (air intake)" +chip "stts751-i2c-*-4a" + label temp1 "Ambient Port Side Temp (air intake)" + +# ASIC power controllers +chip "mp2891-i2c-*-62" + label in1 "PMIC-1 PSU 13V5 Rail (in1)" + label in2 "PMIC-1 VDD_M ADJ Rail (out1)" + ignore in3 + label temp1 "PMIC-1 VDD_M ADJ Temp 1" + ignore temp2 + label power1 "PMIC-1 13V5 VDD_M (in)" + label power2 "PMIC-1 VDD_M Rail Pwr (out1)" + ignore power3 + label curr1 "PMIC-1 13V5 VDD_M Rail Curr (in1)" + label curr2 "PMIC-1 VDD_M Rail Curr (out1)" + ignore curr3 + ignore curr4 + ignore curr5 + ignore curr6 + ignore curr7 + ignore curr8 + ignore curr9 + ignore curr10 +chip "xdpe1a2g7-i2c-*-62" + label in1 "PMIC-1 PSU 13V5 Rail (in1)" + label in2 "PMIC-1 VDD_M ADJ Rail (out1)" + ignore in3 + label temp1 "PMIC-1 VDD_M ADJ Temp 1" + ignore temp2 + label power1 "PMIC-1 13V5 VDD_M (in)" + label power2 "PMIC-1 VDD_M Rail Pwr (out1)" + ignore power3 + label curr1 "PMIC-1 13V5 VDD_M Rail Curr (in1)" + label curr2 "PMIC-1 VDD_M Rail Curr (out1)" + ignore curr3 + ignore curr4 + ignore curr5 + ignore curr6 + ignore curr7 + ignore curr8 + ignore curr9 + ignore curr10 + +chip "mp2891-i2c-*-63" + label in1 "PMIC-2 PSU 13V5 Rail (in1)" + label in2 "PMIC-2 VDD_T0 ADJ Rail (out1)" + label in3 "PMIC-2 VDD_T1 ADJ Rail (out2)" + label temp1 "PMIC-2 VDD_T0 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-2 13V5 VDD_T0 VDD_T1 (in)" + label power2 "PMIC-2 VDD_T0 Rail Pwr (out1)" + label power3 "PMIC-2 VDD_T1 Rail Pwr (out2)" + label curr1 "PMIC-2 13V5 VDD_T0 VDD_T1 Rail Curr (in1)" + label curr2 "PMIC-2 VDD_T0 Rail Curr (out1)" + label curr3 "PMIC-2 VDD_T1 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-63" + label in1 "PMIC-2 PSU 13V5 Rail (in1)" + label in2 "PMIC-2 VDD_T0 ADJ Rail (out1)" + label in3 "PMIC-2 VDD_T1 ADJ Rail (out2)" + label temp1 "PMIC-2 VDD_T0 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-2 13V5 VDD_T0 VDD_T1 (in)" + label power2 "PMIC-2 VDD_T0 Rail Pwr (out1)" + label power3 "PMIC-2 VDD_T1 Rail Pwr (out2)" + label curr1 "PMIC-2 13V5 VDD_T0 VDD_T1 Rail Curr (in1)" + label curr2 "PMIC-2 VDD_T0 Rail Curr (out1)" + label curr3 "PMIC-2 VDD_T1 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +chip "mp2891-i2c-*-64" + label in1 "PMIC-3 PSU 13V5 Rail (in1)" + label in2 "PMIC-3 VDD_T2 ADJ Rail (out1)" + label in3 "PMIC-3 VDD_T3 ADJ Rail (out2)" + label temp1 "PMIC-3 VDD_T2 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-3 13V5 VDD_T2 VDD_T3 (in)" + label power2 "PMIC-3 VDD_T2 Rail Pwr (out1)" + label power3 "PMIC-3 VDD_T3 Rail Pwr (out2)" + label curr1 "PMIC-3 13V5 VDD_T2 VDD_T3 Rail Curr (in1)" + label curr2 "PMIC-3 VDD_T2 Rail Curr (out1)" + label curr3 "PMIC-3 VDD_T3 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-64" + label in1 "PMIC-3 PSU 13V5 Rail (in1)" + label in2 "PMIC-3 VDD_T2 ADJ Rail (out1)" + label in3 "PMIC-3 VDD_T3 ADJ Rail (out2)" + label temp1 "PMIC-3 VDD_T2 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-3 13V5 VDD_T2 VDD_T3 (in)" + label power2 "PMIC-3 VDD_T2 Rail Pwr (out1)" + label power3 "PMIC-3 VDD_T3 Rail Pwr (out2)" + label curr1 "PMIC-3 13V5 VDD_T2 VDD_T3 Rail Curr (in1)" + label curr2 "PMIC-3 VDD_T2 Rail Curr (out1)" + label curr3 "PMIC-3 VDD_T3 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +chip "mp2891-i2c-*-65" + label in1 "PMIC-4 PSU 13V5 Rail (in1)" + label in2 "PMIC-4 VDD_T4 ADJ Rail (out1)" + label in3 "PMIC-4 VDD_T5 ADJ Rail (out2)" + label temp1 "PMIC-4 VDD_T4 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-4 13V5 VDD_T4 VDD_T5 (in)" + label power2 "PMIC-4 VDD_T4 Rail Pwr (out1)" + label power3 "PMIC-4 VDD_T5 Rail Pwr (out2)" + label curr1 "PMIC-4 13V5 VDD_T4 VDD_T5 Rail Curr (in1)" + label curr2 "PMIC-4 VDD_T4 Rail Curr (out1)" + label curr3 "PMIC-4 VDD_T5 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-65" + label in1 "PMIC-4 PSU 13V5 Rail (in1)" + label in2 "PMIC-4 VDD_T4 ADJ Rail (out1)" + label in3 "PMIC-4 VDD_T5 ADJ Rail (out2)" + label temp1 "PMIC-4 VDD_T4 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-4 13V5 VDD_T4 VDD_T5 (in)" + label power2 "PMIC-4 VDD_T4 Rail Pwr (out1)" + label power3 "PMIC-4 VDD_T5 Rail Pwr (out2)" + label curr1 "PMIC-4 13V5 VDD_T4 VDD_T5 Rail Curr (in1)" + label curr2 "PMIC-4 VDD_T4 Rail Curr (out1)" + label curr3 "PMIC-4 VDD_T5 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +chip "mp2891-i2c-*-66" + label in1 "PMIC-5 PSU 13V5 Rail (in1)" + label in2 "PMIC-5 VDD_T6 ADJ Rail (out1)" + label in3 "PMIC-5 VDD_T7 ADJ Rail (out2)" + label temp1 "PMIC-5 VDD_T6 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-5 13V5 VDD_T6 VDD_T7 (in)" + label power2 "PMIC-5 VDD_T6 Rail Pwr (out1)" + label power3 "PMIC-5 VDD_T7 Rail Pwr (out2)" + label curr1 "PMIC-5 13V5 VDD_T6 VDD_T7 Rail Curr (in1)" + label curr2 "PMIC-5 VDD_T6 Rail Curr (out1)" + label curr3 "PMIC-5 VDD_T7 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-66" + label in1 "PMIC-5 PSU 13V5 Rail (in1)" + label in2 "PMIC-5 VDD_T6 ADJ Rail (out1)" + label in3 "PMIC-5 VDD_T7 ADJ Rail (out2)" + label temp1 "PMIC-5 VDD_T6 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-5 13V5 VDD_T6 VDD_T7 (in)" + label power2 "PMIC-5 VDD_T6 Rail Pwr (out1)" + label power3 "PMIC-5 VDD_T7 Rail Pwr (out2)" + label curr1 "PMIC-5 13V5 VDD_T6 VDD_T7 Rail Curr (in1)" + label curr2 "PMIC-5 VDD_T6 Rail Curr (out1)" + label curr3 "PMIC-5 VDD_T7 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +chip "mp2891-i2c-*-67" + label in1 "PMIC-6 PSU 13V5 Rail (in1)" + label in2 "PMIC-6 DVDD_T0 ADJ Rail (out1)" + label in3 "PMIC-6 DVDD_T1 ADJ Rail (out2)" + label temp1 "PMIC-6 DVDD_T0 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-6 13V5 DVDD_T0 DVDD_T1 (in)" + label power2 "PMIC-6 DVDD_T0 Rail Pwr (out1)" + label power3 "PMIC-6 DVDD_T1 Rail Pwr (out2)" + label curr1 "PMIC-6 13V5 DVDD_T0 DVDD_T1 Rail Curr (in1)" + label curr2 "PMIC-6 DVDD_T0 Rail Curr (out1)" + label curr3 "PMIC-6 DVDD_T1 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-67" + label in1 "PMIC-6 PSU 13V5 Rail (in1)" + label in2 "PMIC-6 DVDD_T0 ADJ Rail (out1)" + label in3 "PMIC-6 DVDD_T1 ADJ Rail (out2)" + label temp1 "PMIC-6 DVDD_T0 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-6 13V5 DVDD_T0 DVDD_T1 (in)" + label power2 "PMIC-6 DVDD_T0 Rail Pwr (out1)" + label power3 "PMIC-6 DVDD_T1 Rail Pwr (out2)" + label curr1 "PMIC-6 13V5 DVDD_T0 DVDD_T1 Rail Curr (in1)" + label curr2 "PMIC-6 DVDD_T0 Rail Curr (out1)" + label curr3 "PMIC-6 DVDD_T1 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +chip "mp2891-i2c-*-68" + label in1 "PMIC-7 PSU 13V5 Rail (in1)" + label in2 "PMIC-7 DVDD_T2 ADJ Rail (out1)" + label in3 "PMIC-7 DVDD_T3 ADJ Rail (out2)" + label temp1 "PMIC-7 DVDD_T2 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-7 13V5 DVDD_T2 DVDD_T3 (in)" + label power2 "PMIC-7 DVDD_T2 Rail Pwr (out1)" + label power3 "PMIC-7 DVDD_T3 Rail Pwr (out2)" + label curr1 "PMIC-7 13V5 DVDD_T2 DVDD_T3 Rail Curr (in1)" + label curr2 "PMIC-7 DVDD_T2 Rail Curr (out1)" + label curr3 "PMIC-7 DVDD_T3 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-68" + label in1 "PMIC-7 PSU 13V5 Rail (in1)" + label in2 "PMIC-7 DVDD_T2 ADJ Rail (out1)" + label in3 "PMIC-7 DVDD_T3 ADJ Rail (out2)" + label temp1 "PMIC-7 DVDD_T2 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-7 13V5 DVDD_T2 DVDD_T3 (in)" + label power2 "PMIC-7 DVDD_T2 Rail Pwr (out1)" + label power3 "PMIC-7 DVDD_T3 Rail Pwr (out2)" + label curr1 "PMIC-7 13V5 DVDD_T2 DVDD_T3 Rail Curr (in1)" + label curr2 "PMIC-7 DVDD_T2 Rail Curr (out1)" + label curr3 "PMIC-7 DVDD_T3 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +chip "mp2891-i2c-*-69" + label in1 "PMIC-8 PSU 13V5 Rail (in1)" + label in2 "PMIC-8 DVDD_T4 ADJ Rail (out1)" + label in3 "PMIC-8 DVDD_T5 ADJ Rail (out2)" + label temp1 "PMIC-8 DVDD_T4 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-8 13V5 DVDD_T4 DVDD_T5 (in)" + label power2 "PMIC-8 DVDD_T4 Rail Pwr (out1)" + label power3 "PMIC-8 DVDD_T5 Rail Pwr (out2)" + label curr1 "PMIC-8 13V5 DVDD_T4 DVDD_T5 Rail Curr (in1)" + label curr2 "PMIC-8 DVDD_T4 Rail Curr (out1)" + label curr3 "PMIC-8 DVDD_T5 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-69" + label in1 "PMIC-8 PSU 13V5 Rail (in1)" + label in2 "PMIC-8 DVDD_T4 ADJ Rail (out1)" + label in3 "PMIC-8 DVDD_T5 ADJ Rail (out2)" + label temp1 "PMIC-8 DVDD_T4 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-8 13V5 DVDD_T4 DVDD_T5 (in)" + label power2 "PMIC-8 DVDD_T4 Rail Pwr (out1)" + label power3 "PMIC-8 DVDD_T5 Rail Pwr (out2)" + label curr1 "PMIC-8 13V5 DVDD_T4 DVDD_T5 Rail Curr (in1)" + label curr2 "PMIC-8 DVDD_T4 Rail Curr (out1)" + label curr3 "PMIC-8 DVDD_T5 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +chip "mp2891-i2c-*-6a" + label in1 "PMIC-9 PSU 13V5 Rail (in1)" + label in2 "PMIC-9 DVDD_T6 ADJ Rail (out1)" + label in3 "PMIC-9 DVDD_T7 ADJ Rail (out2)" + label temp1 "PMIC-9 DVDD_T6 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-9 13V5 DVDD_T6 DVDD_T7 (in)" + label power2 "PMIC-9 DVDD_T6 Rail Pwr (out1)" + label power3 "PMIC-9 DVDD_T7 Rail Pwr (out2)" + label curr1 "PMIC-9 13V5 DVDD_T6 DVDD_T7 Rail Curr (in1)" + label curr2 "PMIC-9 DVDD_T6 Rail Curr (out1)" + label curr3 "PMIC-9 DVDD_T7 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-6a" + label in1 "PMIC-9 PSU 13V5 Rail (in1)" + label in2 "PMIC-9 DVDD_T6 ADJ Rail (out1)" + label in3 "PMIC-9 DVDD_T7 ADJ Rail (out2)" + label temp1 "PMIC-9 DVDD_T6 ADJ Temp 1" + ignore temp2 + label power1 "PMIC-9 13V5 DVDD_T6 DVDD_T7 (in)" + label power2 "PMIC-9 DVDD_T6 Rail Pwr (out1)" + label power3 "PMIC-9 DVDD_T7 Rail Pwr (out2)" + label curr1 "PMIC-9 13V5 DVDD_T6 DVDD_T7 Rail Curr (in1)" + label curr2 "PMIC-9 DVDD_T6 Rail Curr (out1)" + label curr3 "PMIC-9 DVDD_T7 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +chip "mp2891-i2c-*-6c" + label in1 "PMIC-10 PSU 13V5 Rail (in1)" + label in2 "PMIC-10 HVDD_T03 1V2 Rail (out1)" + label in3 "PMIC-10 HVDD_T47 1V2 Rail (out2)" + label temp1 "PMIC-10 HVDD_T03 1V2 Temp 1" + ignore temp2 + label power1 "PMIC-10 13V5 HVDD_T03 HVDD_T47 (in)" + label power2 "PMIC-10 HVDD_T03 Rail Pwr (out1)" + label power3 "PMIC-10 HVDD_T47 Rail Pwr (out2)" + label curr1 "PMIC-10 13V5 HVDD_T03 HVDD_T47 Rail Curr (in1)" + label curr2 "PMIC-10 HVDD_T03 Rail Curr (out1)" + label curr3 "PMIC-10 HVDD_T47 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + ignore curr7 + ignore curr8 + ignore curr9 + ignore curr10 + ignore curr11 +chip "xdpe1a2g7-i2c-*-6c" + label in1 "PMIC-10 PSU 13V5 Rail (in1)" + label in2 "PMIC-10 HVDD_T03 1V2 Rail (out1)" + label in3 "PMIC-10 HVDD_T47 1V2 Rail (out2)" + label temp1 "PMIC-10 HVDD_T03 1V2 Temp 1" + ignore temp2 + label power1 "PMIC-10 13V5 HVDD_T03 HVDD_T47 (in)" + label power2 "PMIC-10 HVDD_T03 Rail Pwr (out1)" + label power3 "PMIC-10 HVDD_T47 Rail Pwr (out2)" + label curr1 "PMIC-10 13V5 HVDD_T03 HVDD_T47 Rail Curr (in1)" + label curr2 "PMIC-10 HVDD_T03 Rail Curr (out1)" + label curr3 "PMIC-10 HVDD_T47 Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + ignore curr7 + ignore curr8 + ignore curr9 + ignore curr10 + ignore curr11 + +chip "mp2891-i2c-*-6e" + label in1 "PMIC-11 PSU 13V5 Rail (in1)" + label in2 "PMIC-11 VDDSCC 0V75 Rail (out1)" + label in3 "PMIC-11 DVDD_M ADJ Rail (out2)" + label temp1 "PMIC-11 VDDSCC 1V2 Temp 1" + ignore temp2 + label power1 "PMIC-11 13V5 VDDSCC DVDD_M (in)" + label power2 "PMIC-11 VDDSCC Rail Pwr (out1)" + label power3 "PMIC-11 DVDD_M Rail Pwr (out2)" + label curr1 "PMIC-11 13V5 VDDSCC DVDD_M Rail Curr (in1)" + label curr2 "PMIC-11 VDDSCC Rail Curr (out1)" + label curr3 "PMIC-11 DVDD_M Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 +chip "xdpe1a2g7-i2c-*-6e" + label in1 "PMIC-11 PSU 13V5 Rail (in1)" + label in2 "PMIC-11 VDDSCC 0V75 Rail (out1)" + label in3 "PMIC-11 DVDD_M ADJ Rail (out2)" + label temp1 "PMIC-11 VDDSCC 1V2 Temp 1" + ignore temp2 + label power1 "PMIC-11 13V5 VDDSCC DVDD_M (in)" + label power2 "PMIC-11 VDDSCC Rail Pwr (out1)" + label power3 "PMIC-11 DVDD_M Rail Pwr (out2)" + label curr1 "PMIC-11 13V5 VDDSCC DVDD_M Rail Curr (in1)" + label curr2 "PMIC-11 VDDSCC Rail Curr (out1)" + label curr3 "PMIC-11 DVDD_M Rail Curr (out2)" + ignore curr4 + ignore curr5 + ignore curr6 + +# Power supplies +chip "dps460-i2c-*-59" + label in1 "PSU-1(L) 220V Rail (in)" + ignore in2 + label in3 "PSU-1(L) 54V Rail (out)" + ignore fan2 + ignore fan3 + label fan1 "PSU-1(L) Fan 1" + label temp1 "PSU-1(L) Temp 1" + label temp2 "PSU-1(L) Temp 2" + label temp3 "PSU-1(L) Temp 3" + label power1 "PSU-1(L) 220V Rail Pwr (in)" + label power2 "PSU-1(L) 54V Rail Pwr (out)" + label curr1 "PSU-1(L) 220V Rail Curr (in)" + label curr2 "PSU-1(L) 54V Rail Curr (out)" + set power2_cap 0 +chip "dps460-i2c-*-58" + label in1 "PSU-2(R) 220V Rail (in)" + ignore in2 + label in3 "PSU-2(R) 54V Rail (out)" + ignore fan2 + ignore fan3 + label fan1 "PSU-2(R) Fan 1" + label temp1 "PSU-2(R) Temp 1" + label temp2 "PSU-2(R) Temp 2" + label temp3 "PSU-2(R) Temp 3" + label power1 "PSU-2(R) 220V Rail Pwr (in)" + label power2 "PSU-2(R) 54V Rail Pwr (out)" + label curr1 "PSU-2(R) 220V Rail Curr (in)" + label curr2 "PSU-2(R) 54V Rail Curr (out)" + set power2_cap 0 +chip "dps460-i2c-*-5b" + label in1 "PSU-3(R) 220V Rail (in)" + ignore in2 + label in3 "PSU-3(R) 54V Rail (out)" + ignore fan2 + ignore fan3 + label fan1 "PSU-3(R) Fan 1" + label temp1 "PSU-3(R) Temp 1" + label temp2 "PSU-3(R) Temp 2" + label temp3 "PSU-3(R) Temp 3" + label power1 "PSU-3(R) 220V Rail Pwr (in)" + label power2 "PSU-3(R) 54V Rail Pwr (out)" + label curr1 "PSU-3(R) 220V Rail Curr (in)" + label curr2 "PSU-3(R) 54V Rail Curr (out)" + set power2_cap 0 +chip "dps460-i2c-*-5a" + label in1 "PSU-4(R) 220V Rail (in)" + ignore in2 + label in3 "PSU-4(R) 54V Rail (out)" + ignore fan2 + ignore fan3 + label fan1 "PSU-4(R) Fan 1" + label temp1 "PSU-4(R) Temp 1" + label temp2 "PSU-4(R) Temp 2" + label temp3 "PSU-4(R) Temp 3" + label power1 "PSU-4(R) 220V Rail Pwr (in)" + label power2 "PSU-4(R) 54V Rail Pwr (out)" + label curr1 "PSU-4(R) 220V Rail Curr (in)" + label curr2 "PSU-4(R) 54V Rail Curr (out)" + set power2_cap 0 + +# AMD Comex Power controllers +chip "mp2855-i2c-*-69" + label in1 "PMIC-12 COMEX (in) VDDCR INPUT VOLT" + label in2 "PMIC-12 COMEX (out) VDDCR_CPU VOLT" + label in3 "PMIC-12 COMEX (out2) VDDCR_SOC VOLT" + label temp1 "PMIC-12 COMEX VDDCR_CPU PHASE TEMP" + label temp2 "PMIC-12 COMEX VDDCR_SOC PHASE TEMP" + label curr1 "PMIC-12 COMEX VDDCR_CPU CURR" + label curr2 "PMIC-12 COMEX VDDCR_SOC CURR" + +chip "mp2975-i2c-*-6a" + label in1 "PMIC-13 COMEX VDD_MEM INPUT VOLT" + label in2 "PMIC-13 COMEX VDD_MEM OUTPUT VOLT" + label temp1 "PMIC-13 COMEX VDD_MEM PHASE TEMP" + label curr1 "PMIC-13 COMEX VDD_MEM INPUT CURR" + label curr2 "PMIC-13 COMEX VDD_MEM OUTPUT CURR" + ignore curr3 + ignore curr4 + label power1 "PMIC-13 COMEX VDD_MEM INPUT POWER" + label power2 "PMIC-13 COMEX VDD_MEM OUTPUT POWER" + +# AMD Comex SODIMM temperature sensors +chip "jc42-i2c-*-1a" + label temp1 "SODIMM1 Temp" + +chip "jc42-i2c-*-1b" + label temp1 "SODIMM2 Temp" + +chip "jc42-i2c-*-1e" + label temp1 "SODIMM3 Temp" + +chip "jc42-i2c-*-1f" + label temp1 "SODIMM4 Temp" + +# AMD Comex CPU temperature sensor +chip "k10temp-pci-*" + label temp1 "CPU PACKAGE TEMP" + label temp2 "CPU DIE0 TEMP" + +# NVME SSD temperature sensor +chip "nvme-pci-*" + label temp1 "SSD Temp" + ignore temp2 + ignore temp3 + +# Ethernet PHY temperature sensor +chip "00000500400-mdio-5" + label temp1 "PHY TEMP" diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/system_health_monitoring_config.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/system_health_monitoring_config.json new file mode 120000 index 000000000000..98df66c27ca5 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/system_health_monitoring_config.json @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/system_health_monitoring_config.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/thermal_policy.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/thermal_policy.json new file mode 120000 index 000000000000..5a25cd87f70c --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/thermal_policy.json @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/thermal_policy.json \ No newline at end of file diff --git a/platform/mellanox/asic_table.j2 b/platform/mellanox/asic_table.j2 index b45d0588a555..4547f07fb318 100644 --- a/platform/mellanox/asic_table.j2 +++ b/platform/mellanox/asic_table.j2 @@ -47,6 +47,7 @@ 'x86_64-nvidia_sn2201-r0':'MELLANOX-SPECTRUM', 'x86_64-nvidia_sn5400-r0':'MELLANOX-SPECTRUM-4', 'x86_64-nvidia_sn5600-r0':'MELLANOX-SPECTRUM-4', + 'x86_64-nvidia_sn5610n-r0':'MELLANOX-SPECTRUM-4', 'x86_64-nvidia_sn5400_simx-r0':'MELLANOX-SPECTRUM-4', 'x86_64-nvidia_sn5600_simx-r0':'MELLANOX-SPECTRUM-4', 'x86_64-nvidia_sn4280-r0':'MELLANOX-SPECTRUM-3', diff --git a/platform/mellanox/mlnx-platform-api/sonic_platform/device_data.py b/platform/mellanox/mlnx-platform-api/sonic_platform/device_data.py index 3f511a67ced9..a32bdde4596e 100644 --- a/platform/mellanox/mlnx-platform-api/sonic_platform/device_data.py +++ b/platform/mellanox/mlnx-platform-api/sonic_platform/device_data.py @@ -170,6 +170,16 @@ class DpuInterfaceEnum(Enum): } } }, + 'x86_64-nvidia_sn5610n-r0': { + 'thermal': { + "capability": { + "comex_amb": False + } + }, + 'sfp': { + 'fw_control_ports': [64, 65] # 0 based sfp index list + } + }, 'x86_64-nvidia_sn5640_simx-r0': { 'thermal': { "capability": {