From 223508b0d8bad95c4cf0b9e76b844cf43a3c459d Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Mon, 25 Nov 2024 15:57:47 +0200 Subject: [PATCH 01/17] Add Mellanox-SN5610N new platform and SKUs --- .../Mellanox-SN5610N-C224O8/buffers.json.j2 | 1 + .../buffers_defaults_objects.j2 | 309 ++++ .../buffers_defaults_t0.j2 | 49 + .../buffers_defaults_t1.j2 | 56 + .../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 | 50 + .../pmon_daemon_control.json | 6 + .../Mellanox-SN5610N-C224O8/port_config.ini | 249 +++ .../Mellanox-SN5610N-C224O8/qos.json.j2 | 1 + .../Mellanox-SN5610N-C224O8/sai.profile | 4 + .../sai_5610n_256x100g.xml | 636 ++++++++ .../supporting_bulk_counter_groups | 1 + .../Mellanox-SN5610N-C256S2/buffers.json.j2 | 1 + .../buffers_defaults_objects.j2 | 1 + .../buffers_defaults_t0.j2 | 47 + .../buffers_defaults_t1.j2 | 55 + .../buffers_dynamic.json.j2 | 16 + .../create_only_config_db_buffers.json | 7 + .../media_settings.json | 544 +++++++ .../optics_si_settings.json | 142 ++ .../pg_profile_lookup.ini | 51 + .../pmon_daemon_control.json | 6 + .../Mellanox-SN5610N-C256S2/port_config.ini | 276 ++++ .../Mellanox-SN5610N-C256S2/qos.json.j2 | 1 + .../Mellanox-SN5610N-C256S2/sai.profile | 4 + .../sai_5610n_256x100g.xml | 636 ++++++++ .../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 | 313 ++++ .../x86_64-nvidia_sn5610n-r0/platform.json | 1356 +++++++++++++++++ .../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, 5366 insertions(+) create mode 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers.json.j2 create mode 100644 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_256x100g.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 120000 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 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/media_settings.json create mode 100644 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 120000 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 00000000000..add8bf8bb7c --- /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 100644 index 00000000000..6bf657d1fb7 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2 @@ -0,0 +1,309 @@ +{# + Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. + Apache-2.0 + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +#} + +{%- 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 }}", + "xoff": "{{ ingress_lossless_pool_xoff }}", + {% 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_lossless_profile": { + "pool":"ingress_lossless_pool", + "size":"0", + "dynamic_th":"7" + }, + "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":"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_lossless_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_lossless_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_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) %} + "BUFFER_QUEUE": { +{% set q_loop = namespace(last_valid=false) %} +{% for port in port_names_active.split(',') %} +{% if port not in port_names_extra_queues.split(',') %} + "{{ port }}|3-4": { + "profile" : "egress_lossless_profile" + }, +{% endif %} +{% endfor %} +{% for port in port_names_active.split(',') %} +{% if port not in port_names_extra_queues.split(',') %} + "{{ port }}|0-2": { + "profile" : "q_lossy_profile" + }, +{% endif %} +{% endfor %} +{% for port in port_names_active.split(',') %} +{% if port not in port_names_extra_queues.split(',') %} +{% if port_names_extra_queues|length > 0 %} + "{{ port }}|5-7": { +{% else %} + "{{ port }}|5-6": { +{% endif %} + "profile" : "q_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% set q_loop.last_valid = true %} +{% else %} +{% set q_loop.last_valid = false %} +{% endif %} +{% endfor %} +{% if port_names_extra_queues|length > 0 %} +{% if q_loop.last_valid %},{% endif %} +{% for port in port_names_extra_queues.split(',') %} + "{{ port }}|0-1": { + "profile" : "q_lossy_profile" + }, + "{{ port }}|2-4": { + "profile" : "egress_lossless_profile" + }, + "{{ port }}|5": { + "profile" : "q_lossy_profile" + }, + "{{ port }}|6": { + "profile" : "egress_lossless_profile" + }, + "{{ port }}|7": { + "profile" : "q_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% endif %} +{% if port_names_inactive|length > 0 %} +, +{% if dynamic_mode is defined %} +{% for port in port_names_inactive.split(',') %} + "{{ port }}|3-4": { + "profile" : "egress_lossless_profile" + }, +{% endfor %} +{% for port in port_names_inactive.split(',') %} + "{{ port }}|0-2": { + "profile" : "q_lossy_profile" + }, +{% endfor %} +{% for port in port_names_inactive.split(',') %} +{% if port_names_extra_queues|length > 0 %} + "{{ port }}|5-7": { +{% else %} + "{{ port }}|5-6": { +{% endif %} + "profile" : "q_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% else %} +{% for port in port_names_inactive.split(',') %} + "{{ port }}|3-4": { + "profile" : "egress_lossless_zero_profile" + }, +{% endfor %} +{% for port in port_names_inactive.split(',') %} + "{{ port }}|0-2": { + "profile" : "egress_lossy_zero_profile" + }, +{% endfor %} +{% for port in port_names_inactive.split(',') %} +{% if port_names_extra_queues|length > 0 %} + "{{ port }}|5-7": { +{% else %} + "{{ port }}|5-6": { +{% endif %} + "profile" : "egress_lossy_zero_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% endif %} +{% endif %} + } +{%- endmacro %} + +{%- macro generate_queue_buffers(port_names_active, port_names_inactive) %} +{{ generate_queue_buffers_with_extra_lossless_queues(port_names_active, "", port_names_inactive) }} +{%- endmacro %} + +{%- macro generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) %} + "BUFFER_PG": { +{% set pg_loop = namespace(last_valid=false) %} +{% for port in port_names_active.split(',') %} +{% if port not in port_names_extra_pgs.split(',') %} +{% if dynamic_mode is defined %} + "{{ port }}|3-4": { + "profile" : "NULL" + }, +{% endif %} + "{{ port }}|0": { + "profile" : "ingress_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% set pg_loop.last_valid = true %} +{% else %} +{% set pg_loop.last_valid = false %} +{% endif %} +{% endfor %} +{% if port_names_extra_pgs|length > 0 %} +{% if pg_loop.last_valid %},{% endif %} +{% for port in port_names_extra_pgs.split(',') %} +{% if dynamic_mode is defined %} + "{{ port }}|2-4": { + "profile" : "NULL" + }, + "{{ port }}|6": { + "profile" : "NULL" + }, +{% endif %} + "{{ port }}|0": { + "profile" : "ingress_lossy_profile" + }{% if not loop.last %},{% endif %} + +{% endfor %} +{% endif %} +{% if port_names_inactive|length > 0 %} +{%- for port in port_names_inactive.split(',') %} + {%- if loop.first -%},{%- endif -%} +{% if dynamic_mode is defined %} + "{{ port }}|3-4": { + "profile" : "NULL" + }, +{% 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 %} + +{%- macro generate_pg_profiles(port_names_active, port_names_inactive) %} +{{ generate_pg_profiles_with_extra_lossless_pgs(port_names_active, "", port_names_inactive) }} +{%- endmacro %} 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 00000000000..2868be57193 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t0.j2 @@ -0,0 +1,49 @@ +{# + 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 = '40m' %} +{% set ingress_lossless_pool_size = '144188416' %} +{% set ingress_lossless_pool_xoff = '1024' %} +{% set egress_lossless_pool_size = '158229504' %} +{% set egress_lossy_pool_size = '144188416' %} + +{% 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 00000000000..67af952971d --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_t1.j2 @@ -0,0 +1,56 @@ +{# + 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 = '250m' %} +{% set ingress_lossless_pool_size = '144188416' %} +{% set ingress_lossless_pool_xoff = '1024' %} +{% set egress_lossless_pool_size = '158229504' %} +{% set egress_lossy_pool_size = '144188416' %} + +{%-set ports2cable = { + 'torrouter_server' : '40m', + 'leafrouter_torrouter' : '250m', + 'spinerouter_leafrouter' : '1000m' + } +-%} + +{% 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 00000000000..8c4117c6621 --- /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 00000000000..6feb156714f --- /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 00000000000..8af3fbdd9e5 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/media_settings.json @@ -0,0 +1 @@ +../Mellanox-SN5610N-C256S2/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 00000000000..3ad375cab96 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/optics_si_settings.json @@ -0,0 +1 @@ +../Mellanox-SN5610N-C256S2/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 00000000000..f97de761e9d --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/pg_profile_lookup.ini @@ -0,0 +1,50 @@ +## +## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. +## Apache-2.0 +## +## Licensed under the Apache License, Version 2.0 (the "License"); +## you may not use this file except in compliance with the License. +## You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## +# 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 00000000000..208fa63ca29 --- /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 00000000000..b78c2ff31a3 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/port_config.ini @@ -0,0 +1,249 @@ +## +## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. +## Apache-2.0 +## +## Licensed under the Apache License, Version 2.0 (the "License"); +## you may not use this file except in compliance with the License. +## You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## + +# name lanes alias index speed fec autoneg subport +Ethernet0 0 etp1a 1 100000 rs off 1 +Ethernet1 1 etp1b 1 100000 rs off 2 +Ethernet2 2 etp1c 1 100000 rs off 3 +Ethernet3 3 etp1d 1 100000 rs off 4 +Ethernet4 4 etp1e 1 100000 rs off 5 +Ethernet5 5 etp1f 1 100000 rs off 6 +Ethernet6 6 etp1g 1 100000 rs off 7 +Ethernet7 7 etp1h 1 100000 rs off 8 +Ethernet16 16 etp3a 3 100000 rs off 1 +Ethernet17 17 etp3b 3 100000 rs off 2 +Ethernet18 18 etp3c 3 100000 rs off 3 +Ethernet19 19 etp3d 3 100000 rs off 4 +Ethernet20 20 etp3e 3 100000 rs off 5 +Ethernet21 21 etp3f 3 100000 rs off 6 +Ethernet22 22 etp3g 3 100000 rs off 7 +Ethernet23 23 etp3h 3 100000 rs off 8 +Ethernet32 32 etp5a 5 100000 rs off 1 +Ethernet33 33 etp5b 5 100000 rs off 2 +Ethernet34 34 etp5c 5 100000 rs off 3 +Ethernet35 35 etp5d 5 100000 rs off 4 +Ethernet36 36 etp5e 5 100000 rs off 5 +Ethernet37 37 etp5f 5 100000 rs off 6 +Ethernet38 38 etp5g 5 100000 rs off 7 +Ethernet39 39 etp5h 5 100000 rs off 8 +Ethernet48 48 etp7a 7 100000 rs off 1 +Ethernet49 49 etp7b 7 100000 rs off 2 +Ethernet50 50 etp7c 7 100000 rs off 3 +Ethernet51 51 etp7d 7 100000 rs off 4 +Ethernet52 52 etp7e 7 100000 rs off 5 +Ethernet53 53 etp7f 7 100000 rs off 6 +Ethernet54 54 etp7g 7 100000 rs off 7 +Ethernet55 55 etp7h 7 100000 rs off 8 +Ethernet64 64 etp9a 9 100000 rs off 1 +Ethernet65 65 etp9b 9 100000 rs off 2 +Ethernet66 66 etp9c 9 100000 rs off 3 +Ethernet67 67 etp9d 9 100000 rs off 4 +Ethernet68 68 etp9e 9 100000 rs off 5 +Ethernet69 69 etp9f 9 100000 rs off 6 +Ethernet70 70 etp9g 9 100000 rs off 7 +Ethernet71 71 etp9h 9 100000 rs off 8 +Ethernet80 80 etp11a 11 100000 rs off 1 +Ethernet81 81 etp11b 11 100000 rs off 2 +Ethernet82 82 etp11c 11 100000 rs off 3 +Ethernet83 83 etp11d 11 100000 rs off 4 +Ethernet84 84 etp11e 11 100000 rs off 5 +Ethernet85 85 etp11f 11 100000 rs off 6 +Ethernet86 86 etp11g 11 100000 rs off 7 +Ethernet87 87 etp11h 11 100000 rs off 8 +Ethernet96 96,97,98,99 etp13a 13 400000 rs off 1 +Ethernet100 100,101,102,103 etp13b 13 400000 rs off 2 +Ethernet112 112 etp15a 15 100000 rs off 1 +Ethernet113 113 etp15b 15 100000 rs off 2 +Ethernet114 114 etp15c 15 100000 rs off 3 +Ethernet115 115 etp15d 15 100000 rs off 4 +Ethernet116 116 etp15e 15 100000 rs off 5 +Ethernet117 117 etp15f 15 100000 rs off 6 +Ethernet118 118 etp15g 15 100000 rs off 7 +Ethernet119 119 etp15h 15 100000 rs off 8 +Ethernet128 128,129,130,131 etp17a 17 400000 rs off 1 +Ethernet132 132,133,134,135 etp17b 17 400000 rs off 2 +Ethernet146 146 etp19c 19 100000 rs off 3 +Ethernet147 147 etp19d 19 100000 rs off 4 +Ethernet148 148 etp19e 19 100000 rs off 5 +Ethernet149 149 etp19f 19 100000 rs off 6 +Ethernet150 150 etp19g 19 100000 rs off 7 +Ethernet151 151 etp19h 19 100000 rs off 8 +Ethernet160 160 etp21a 21 100000 rs off 1 +Ethernet161 161 etp21b 21 100000 rs off 2 +Ethernet162 162 etp21c 21 100000 rs off 3 +Ethernet163 163 etp21d 21 100000 rs off 4 +Ethernet164 164 etp21e 21 100000 rs off 5 +Ethernet165 165 etp21f 21 100000 rs off 6 +Ethernet166 166 etp21g 21 100000 rs off 7 +Ethernet167 167 etp21h 21 100000 rs off 8 +Ethernet176 176 etp23a 23 100000 rs off 1 +Ethernet177 177 etp23b 23 100000 rs off 2 +Ethernet178 178 etp23c 23 100000 rs off 3 +Ethernet179 179 etp23d 23 100000 rs off 4 +Ethernet180 180 etp23e 23 100000 rs off 5 +Ethernet181 181 etp23f 23 100000 rs off 6 +Ethernet182 182 etp23g 23 100000 rs off 7 +Ethernet183 183 etp23h 23 100000 rs off 8 +Ethernet192 192 etp25a 25 100000 rs off 1 +Ethernet193 193 etp25b 25 100000 rs off 2 +Ethernet194 194 etp25c 25 100000 rs off 3 +Ethernet195 195 etp25d 25 100000 rs off 4 +Ethernet196 196 etp25e 25 100000 rs off 5 +Ethernet197 197 etp25f 25 100000 rs off 6 +Ethernet198 198 etp25g 25 100000 rs off 7 +Ethernet199 199 etp25h 25 100000 rs off 8 +Ethernet208 208 etp27a 27 100000 rs off 1 +Ethernet209 209 etp27b 27 100000 rs off 2 +Ethernet210 210 etp27c 27 100000 rs off 3 +Ethernet211 211 etp27d 27 100000 rs off 4 +Ethernet212 212 etp27e 27 100000 rs off 5 +Ethernet213 213 etp27f 27 100000 rs off 6 +Ethernet214 214 etp27g 27 100000 rs off 7 +Ethernet215 215 etp27h 27 100000 rs off 8 +Ethernet224 224 etp29a 29 100000 rs off 1 +Ethernet225 225 etp29b 29 100000 rs off 2 +Ethernet226 226 etp29c 29 100000 rs off 3 +Ethernet227 227 etp29d 29 100000 rs off 4 +Ethernet228 228 etp29e 29 100000 rs off 5 +Ethernet229 229 etp29f 29 100000 rs off 6 +Ethernet230 230 etp29g 29 100000 rs off 7 +Ethernet231 231 etp29h 29 100000 rs off 8 +Ethernet240 240 etp31a 31 100000 rs off 1 +Ethernet241 241 etp31b 31 100000 rs off 2 +Ethernet242 242 etp31c 31 100000 rs off 3 +Ethernet243 243 etp31d 31 100000 rs off 4 +Ethernet244 244 etp31e 31 100000 rs off 5 +Ethernet245 245 etp31f 31 100000 rs off 6 +Ethernet246 246 etp31g 31 100000 rs off 7 +Ethernet247 247 etp31h 31 100000 rs off 8 +Ethernet256 256 etp33a 33 100000 rs off 1 +Ethernet257 257 etp33b 33 100000 rs off 2 +Ethernet258 258 etp33c 33 100000 rs off 3 +Ethernet259 259 etp33d 33 100000 rs off 4 +Ethernet260 260 etp33e 33 100000 rs off 5 +Ethernet261 261 etp33f 33 100000 rs off 6 +Ethernet262 262 etp33g 33 100000 rs off 7 +Ethernet263 263 etp33h 33 100000 rs off 8 +Ethernet272 272 etp35a 35 100000 rs off 1 +Ethernet273 273 etp35b 35 100000 rs off 2 +Ethernet274 274 etp35c 35 100000 rs off 3 +Ethernet275 275 etp35d 35 100000 rs off 4 +Ethernet276 276 etp35e 35 100000 rs off 5 +Ethernet277 277 etp35f 35 100000 rs off 6 +Ethernet278 278 etp35g 35 100000 rs off 7 +Ethernet279 279 etp35h 35 100000 rs off 8 +Ethernet288 288 etp37a 37 100000 rs off 1 +Ethernet289 289 etp37b 37 100000 rs off 2 +Ethernet290 290 etp37c 37 100000 rs off 3 +Ethernet291 291 etp37d 37 100000 rs off 4 +Ethernet292 292 etp37e 37 100000 rs off 5 +Ethernet293 293 etp37f 37 100000 rs off 6 +Ethernet294 294 etp37g 37 100000 rs off 7 +Ethernet295 295 etp37h 37 100000 rs off 8 +Ethernet304 304 etp39a 39 100000 rs off 1 +Ethernet305 305 etp39b 39 100000 rs off 2 +Ethernet306 306 etp39c 39 100000 rs off 3 +Ethernet307 307 etp39d 39 100000 rs off 4 +Ethernet308 308 etp39e 39 100000 rs off 5 +Ethernet309 309 etp39f 39 100000 rs off 6 +Ethernet310 310 etp39g 39 100000 rs off 7 +Ethernet311 311 etp39h 39 100000 rs off 8 +Ethernet320 320 etp41a 41 100000 rs off 1 +Ethernet321 321 etp41b 41 100000 rs off 2 +Ethernet322 322 etp41c 41 100000 rs off 3 +Ethernet323 323 etp41d 41 100000 rs off 4 +Ethernet324 324 etp41e 41 100000 rs off 5 +Ethernet325 325 etp41f 41 100000 rs off 6 +Ethernet326 326 etp41g 41 100000 rs off 7 +Ethernet327 327 etp41h 41 100000 rs off 8 +Ethernet336 336 etp43a 43 100000 rs off 1 +Ethernet337 337 etp43b 43 100000 rs off 2 +Ethernet338 338 etp43c 43 100000 rs off 3 +Ethernet339 339 etp43d 43 100000 rs off 4 +Ethernet340 340 etp43e 43 100000 rs off 5 +Ethernet341 341 etp43f 43 100000 rs off 6 +Ethernet342 342 etp43g 43 100000 rs off 7 +Ethernet343 343 etp43h 43 100000 rs off 8 +Ethernet352 352,353,354,355 etp45a 45 400000 rs off 1 +Ethernet356 356,357,358,359 etp45b 45 400000 rs off 2 +Ethernet368 368 etp47a 47 100000 rs off 1 +Ethernet369 369 etp47b 47 100000 rs off 2 +Ethernet370 370 etp47c 47 100000 rs off 3 +Ethernet371 371 etp47d 47 100000 rs off 4 +Ethernet372 372 etp47e 47 100000 rs off 5 +Ethernet373 373 etp47f 47 100000 rs off 6 +Ethernet374 374 etp47g 47 100000 rs off 7 +Ethernet375 375 etp47h 47 100000 rs off 8 +Ethernet384 384,385,386,387 etp49a 49 400000 rs off 1 +Ethernet388 388,389,390,391 etp49b 49 400000 rs off 2 +Ethernet400 400 etp51a 51 100000 rs off 1 +Ethernet401 401 etp51b 51 100000 rs off 2 +Ethernet402 402 etp51c 51 100000 rs off 3 +Ethernet403 403 etp51d 51 100000 rs off 4 +Ethernet404 404 etp51e 51 100000 rs off 5 +Ethernet405 405 etp51f 51 100000 rs off 6 +Ethernet406 406 etp51g 51 100000 rs off 7 +Ethernet407 407 etp51h 51 100000 rs off 8 +Ethernet416 416 etp53a 53 100000 rs off 1 +Ethernet417 417 etp53b 53 100000 rs off 2 +Ethernet418 418 etp53c 53 100000 rs off 3 +Ethernet419 419 etp53d 53 100000 rs off 4 +Ethernet420 420 etp53e 53 100000 rs off 5 +Ethernet421 421 etp53f 53 100000 rs off 6 +Ethernet422 422 etp53g 53 100000 rs off 7 +Ethernet423 423 etp53h 53 100000 rs off 8 +Ethernet432 432 etp55a 55 100000 rs off 1 +Ethernet433 433 etp55b 55 100000 rs off 2 +Ethernet434 434 etp55c 55 100000 rs off 3 +Ethernet435 435 etp55d 55 100000 rs off 4 +Ethernet436 436 etp55e 55 100000 rs off 5 +Ethernet437 437 etp55f 55 100000 rs off 6 +Ethernet438 438 etp55g 55 100000 rs off 7 +Ethernet439 439 etp55h 55 100000 rs off 8 +Ethernet448 448 etp57a 57 100000 rs off 1 +Ethernet449 449 etp57b 57 100000 rs off 2 +Ethernet450 450 etp57c 57 100000 rs off 3 +Ethernet451 451 etp57d 57 100000 rs off 4 +Ethernet452 452 etp57e 57 100000 rs off 5 +Ethernet453 453 etp57f 57 100000 rs off 6 +Ethernet454 454 etp57g 57 100000 rs off 7 +Ethernet455 455 etp57h 57 100000 rs off 8 +Ethernet464 464 etp59a 59 100000 rs off 1 +Ethernet465 465 etp59b 59 100000 rs off 2 +Ethernet466 466 etp59c 59 100000 rs off 3 +Ethernet467 467 etp59d 59 100000 rs off 4 +Ethernet468 468 etp59e 59 100000 rs off 5 +Ethernet469 469 etp59f 59 100000 rs off 6 +Ethernet470 470 etp59g 59 100000 rs off 7 +Ethernet471 471 etp59h 59 100000 rs off 8 +Ethernet480 480 etp61a 61 100000 rs off 1 +Ethernet481 481 etp61b 61 100000 rs off 2 +Ethernet482 482 etp61c 61 100000 rs off 3 +Ethernet483 483 etp61d 61 100000 rs off 4 +Ethernet484 484 etp61e 61 100000 rs off 5 +Ethernet485 485 etp61f 61 100000 rs off 6 +Ethernet486 486 etp61g 61 100000 rs off 7 +Ethernet487 487 etp61h 61 100000 rs off 8 +Ethernet496 496 etp63a 63 100000 rs off 1 +Ethernet497 497 etp63b 63 100000 rs off 2 +Ethernet498 498 etp63c 63 100000 rs off 3 +Ethernet499 499 etp63d 63 100000 rs off 4 +Ethernet500 500 etp63e 63 100000 rs off 5 +Ethernet501 501 etp63f 63 100000 rs off 6 +Ethernet502 502 etp63g 63 100000 rs off 7 +Ethernet503 503 etp63h 63 100000 rs off 8 +Ethernet512 512 etp65 65 10000 rs 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 00000000000..eccf286dc87 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/qos.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/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 00000000000..b9b78d462b8 --- /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_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-C224O8/sai_5610n_256x100g.xml b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_256x100g.xml new file mode 100644 index 00000000000..fba7da74434 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_256x100g.xml @@ -0,0 +1,636 @@ + + + + + + + 00:77:66:55:44:00 + + + 1 + + + 66 + + + + + 1 + 8 + 34 + 3 + 4096 + 2 + true + + + 5 + 8 + 35 + 3 + 4096 + 2 + true + + + 9 + 8 + 33 + 3 + 4096 + 2 + true + + + 13 + 8 + 32 + 3 + 4096 + 2 + true + + + 17 + 8 + 38 + 3 + 4096 + 2 + true + + + 21 + 8 + 39 + 3 + 4096 + 2 + true + + + 25 + 8 + 37 + 3 + 4096 + 2 + true + + + 29 + 8 + 36 + 3 + 4096 + 2 + true + + + 33 + 8 + 42 + 3 + 4096 + 2 + true + + + 37 + 8 + 43 + 3 + 4096 + 2 + true + + + 41 + 8 + 41 + 3 + 4096 + 2 + true + + + 45 + 8 + 40 + 3 + 4096 + 2 + true + + + 49 + 8 + 46 + 3 + 4096 + 2 + true + + + 53 + 8 + 47 + 3 + 4096 + 2 + true + + + 57 + 8 + 45 + 3 + 4096 + 2 + true + + + 61 + 8 + 44 + 3 + 4096 + 2 + true + + + 65 + 8 + 51 + 3 + 4096 + 2 + true + + + 69 + 8 + 50 + 3 + 4096 + 2 + true + + + 73 + 8 + 48 + 3 + 4096 + 2 + true + + + 77 + 8 + 49 + 3 + 4096 + 2 + true + + + 81 + 8 + 55 + 3 + 4096 + 2 + true + + + 85 + 8 + 54 + 3 + 4096 + 2 + true + + + 89 + 8 + 52 + 3 + 4096 + 2 + true + + + 93 + 8 + 53 + 3 + 4096 + 2 + true + + + 97 + 8 + 59 + 3 + 4096 + 2 + true + + + 101 + 8 + 58 + 3 + 4096 + 2 + true + + + 105 + 8 + 56 + + + 3 + + + 4096 + 2 + true + + + 109 + 8 + 57 + 3 + 4096 + 2 + true + + + 113 + 8 + 63 + 3 + 4096 + 2 + true + + + 117 + 8 + 62 + 3 + 4096 + 2 + true + + + 121 + 8 + 60 + 3 + 4096 + 2 + true + + + 125 + 8 + 61 + 3 + 4096 + 2 + true + + + 129 + 8 + 29 + 3 + 4096 + 2 + true + + + 133 + 8 + 28 + 3 + 4096 + 2 + true + + + 137 + 8 + 30 + 3 + 4096 + 2 + true + + + 141 + 8 + 31 + 3 + 4096 + 2 + true + + + 145 + 8 + 25 + 3 + 4096 + 2 + true + + + 149 + 8 + 24 + 3 + 4096 + 2 + true + + + 153 + 8 + 26 + 3 + 4096 + 2 + true + + + 157 + 8 + 27 + 3 + 4096 + 2 + true + + + 161 + 8 + 21 + 3 + 4096 + 2 + true + + + 165 + 8 + 20 + 3 + 4096 + 2 + true + + + 169 + 8 + 22 + 3 + 4096 + 2 + true + + + 173 + 8 + 23 + 3 + 4096 + 2 + true + + + 177 + 8 + 17 + 3 + 4096 + 2 + true + + + 181 + 8 + 16 + 3 + 4096 + 2 + true + + + 185 + 8 + 18 + 3 + 4096 + 2 + true + + + 189 + 8 + 19 + 3 + 4096 + 2 + true + + + 193 + 8 + 12 + 3 + 4096 + 2 + true + + + 197 + 8 + 13 + 3 + 4096 + 2 + true + + + 201 + 8 + 15 + 3 + 4096 + 2 + true + + + 205 + 8 + 14 + 3 + 4096 + 2 + true + + + 209 + 8 + 8 + 3 + 4096 + 2 + true + + + 213 + 8 + 9 + 3 + 4096 + 2 + true + + + 217 + 8 + 11 + 3 + 4096 + 2 + true + + + 221 + 8 + 10 + 3 + 4096 + 2 + true + + + 225 + 8 + 4 + 3 + 4096 + 2 + true + + + 229 + 8 + 5 + 3 + 4096 + 2 + true + + + 233 + 8 + 7 + + + 3 + + + 4096 + 2 + true + + + 237 + 8 + 6 + 3 + 4096 + 2 + true + + + 241 + 8 + 0 + 3 + 4096 + 2 + true + + + 245 + 8 + 1 + 3 + 4096 + 2 + true + + + 249 + 8 + 3 + 3 + 4096 + 2 + true + + + 253 + 8 + 2 + 3 + 4096 + 2 + true + + + 257 + 1 + 64 + 0 + 4 + true + + + 258 + 1 + 65 + 0 + 4 + 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 00000000000..178f0575d04 --- /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 00000000000..add8bf8bb7c --- /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 120000 index 00000000000..c01aebb7ae1 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers_defaults_objects.j2 \ No newline at end of file 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 00000000000..d55c85f9cb3 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t0.j2 @@ -0,0 +1,47 @@ +{# + Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. + Apache-2.0 + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +#} +{% set default_cable = '40m' %} +{% set ingress_lossless_pool_size = '142644224' %} +{% set ingress_lossless_pool_xoff = '1024' %} +{% set egress_lossless_pool_size = '158229504' %} +{% set egress_lossy_pool_size = '142644224' %} + +{% 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 00000000000..068dba5aa00 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_t1.j2 @@ -0,0 +1,55 @@ +{# + Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. + Apache-2.0 + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +#} + +{% set default_cable = '250m' %} +{% set ingress_lossless_pool_size = '142644224' %} +{% set ingress_lossless_pool_xoff = '1024' %} +{% set egress_lossless_pool_size = '158229504' %} +{% set egress_lossy_pool_size = '142644224' %} + +{%-set ports2cable = { + 'torrouter_server' : '40m', + 'leafrouter_torrouter' : '250m', + 'spinerouter_leafrouter' : '1000m' + } +-%} + +{% 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 00000000000..b2cc958b7c4 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_dynamic.json.j2 @@ -0,0 +1,16 @@ +{# + Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. + Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +#} +{%- set default_topo = 't0' %} +{%- set dynamic_mode = 'true' %} +{%- include 'buffers_config.j2' %} 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 00000000000..6feb156714f --- /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 100644 index 00000000000..6b48c7b70ad --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/media_settings.json @@ -0,0 +1,544 @@ +{ + "GLOBAL_MEDIA_SETTINGS": { + "1-64": { + "OSFP-8X-sm_media_interface": { + "speed:400GAUI-4-L": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000005", + "lane1": "0x00000005", + "lane2": "0x00000005", + "lane3": "0x00000005", + "lane4": "0x00000005", + "lane5": "0x00000005", + "lane6": "0x00000005", + "lane7": "0x00000005" + }, + "pre1": { + "lane0": "0xfffffff1", + "lane1": "0xfffffff1", + "lane2": "0xfffffff1", + "lane3": "0xfffffff1", + "lane4": "0xfffffff1", + "lane5": "0xfffffff1", + "lane6": "0xfffffff1", + "lane7": "0xfffffff1" + }, + "main": { + "lane0": "0x0000002b", + "lane1": "0x0000002b", + "lane2": "0x0000002b", + "lane3": "0x0000002b", + "lane4": "0x0000002b", + "lane5": "0x0000002b", + "lane6": "0x0000002b", + "lane7": "0x0000002b" + }, + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "idriver": { + "lane0": "0x00000032", + "lane1": "0x00000032", + "lane2": "0x00000032", + "lane3": "0x00000032", + "lane4": "0x00000032", + "lane5": "0x00000032", + "lane6": "0x00000032", + "lane7": "0x00000032" + } + }, + "speed:400GAUI-4-S": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000005", + "lane1": "0x00000005", + "lane2": "0x00000005", + "lane3": "0x00000005", + "lane4": "0x00000005", + "lane5": "0x00000005", + "lane6": "0x00000005", + "lane7": "0x00000005" + }, + "pre1": { + "lane0": "0xfffffff1", + "lane1": "0xfffffff1", + "lane2": "0xfffffff1", + "lane3": "0xfffffff1", + "lane4": "0xfffffff1", + "lane5": "0xfffffff1", + "lane6": "0xfffffff1", + "lane7": "0xfffffff1" + }, + "main": { + "lane0": "0x0000002b", + "lane1": "0x0000002b", + "lane2": "0x0000002b", + "lane3": "0x0000002b", + "lane4": "0x0000002b", + "lane5": "0x0000002b", + "lane6": "0x0000002b", + "lane7": "0x0000002b" + }, + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "idriver": { + "lane0": "0x00000032", + "lane1": "0x00000032", + "lane2": "0x00000032", + "lane3": "0x00000032", + "lane4": "0x00000032", + "lane5": "0x00000032", + "lane6": "0x00000032", + "lane7": "0x00000032" + } + }, + "speed:800G": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000005", + "lane1": "0x00000005", + "lane2": "0x00000005", + "lane3": "0x00000005", + "lane4": "0x00000005", + "lane5": "0x00000005", + "lane6": "0x00000005", + "lane7": "0x00000005" + }, + "pre1": { + "lane0": "0xfffffff1", + "lane1": "0xfffffff1", + "lane2": "0xfffffff1", + "lane3": "0xfffffff1", + "lane4": "0xfffffff1", + "lane5": "0xfffffff1", + "lane6": "0xfffffff1", + "lane7": "0xfffffff1" + }, + "main": { + "lane0": "0x0000002b", + "lane1": "0x0000002b", + "lane2": "0x0000002b", + "lane3": "0x0000002b", + "lane4": "0x0000002b", + "lane5": "0x0000002b", + "lane6": "0x0000002b", + "lane7": "0x0000002b" + }, + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "idriver": { + "lane0": "0x00000032", + "lane1": "0x00000032", + "lane2": "0x00000032", + "lane3": "0x00000032", + "lane4": "0x00000032", + "lane5": "0x00000032", + "lane6": "0x00000032", + "lane7": "0x00000032" + } + } + }, + "OSFP-8X-nm_850_media_interface": { + "speed:800G": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000005", + "lane1": "0x00000005", + "lane2": "0x00000005", + "lane3": "0x00000005", + "lane4": "0x00000005", + "lane5": "0x00000005", + "lane6": "0x00000005", + "lane7": "0x00000005" + }, + "pre1": { + "lane0": "0xfffffff1", + "lane1": "0xfffffff1", + "lane2": "0xfffffff1", + "lane3": "0xfffffff1", + "lane4": "0xfffffff1", + "lane5": "0xfffffff1", + "lane6": "0xfffffff1", + "lane7": "0xfffffff1" + }, + "main": { + "lane0": "0x0000002b", + "lane1": "0x0000002b", + "lane2": "0x0000002b", + "lane3": "0x0000002b", + "lane4": "0x0000002b", + "lane5": "0x0000002b", + "lane6": "0x0000002b", + "lane7": "0x0000002b" + }, + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "idriver": { + "lane0": "0x00000032", + "lane1": "0x00000032", + "lane2": "0x00000032", + "lane3": "0x00000032", + "lane4": "0x00000032", + "lane5": "0x00000032", + "lane6": "0x00000032", + "lane7": "0x00000032" + } + }, + "speed:400GAUI-4-S": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000005", + "lane1": "0x00000005", + "lane2": "0x00000005", + "lane3": "0x00000005", + "lane4": "0x00000005", + "lane5": "0x00000005", + "lane6": "0x00000005", + "lane7": "0x00000005" + }, + "pre1": { + "lane0": "0xfffffff1", + "lane1": "0xfffffff1", + "lane2": "0xfffffff1", + "lane3": "0xfffffff1", + "lane4": "0xfffffff1", + "lane5": "0xfffffff1", + "lane6": "0xfffffff1", + "lane7": "0xfffffff1" + }, + "main": { + "lane0": "0x0000002b", + "lane1": "0x0000002b", + "lane2": "0x0000002b", + "lane3": "0x0000002b", + "lane4": "0x0000002b", + "lane5": "0x0000002b", + "lane6": "0x0000002b", + "lane7": "0x0000002b" + }, + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "idriver": { + "lane0": "0x00000032", + "lane1": "0x00000032", + "lane2": "0x00000032", + "lane3": "0x00000032", + "lane4": "0x00000032", + "lane5": "0x00000032", + "lane6": "0x00000032", + "lane7": "0x00000032" + } + }, + "speed:400GAUI-8": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "main": { + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" + }, + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "idriver": { + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" + } + }, + "speed:400GAUI-4-L": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000005", + "lane1": "0x00000005", + "lane2": "0x00000005", + "lane3": "0x00000005", + "lane4": "0x00000005", + "lane5": "0x00000005", + "lane6": "0x00000005", + "lane7": "0x00000005" + }, + "pre1": { + "lane0": "0xfffffff1", + "lane1": "0xfffffff1", + "lane2": "0xfffffff1", + "lane3": "0xfffffff1", + "lane4": "0xfffffff1", + "lane5": "0xfffffff1", + "lane6": "0xfffffff1", + "lane7": "0xfffffff1" + }, + "main": { + "lane0": "0x0000002b", + "lane1": "0x0000002b", + "lane2": "0x0000002b", + "lane3": "0x0000002b", + "lane4": "0x0000002b", + "lane5": "0x0000002b", + "lane6": "0x0000002b", + "lane7": "0x0000002b" + }, + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "idriver": { + "lane0": "0x00000032", + "lane1": "0x00000032", + "lane2": "0x00000032", + "lane3": "0x00000032", + "lane4": "0x00000032", + "lane5": "0x00000032", + "lane6": "0x00000032", + "lane7": "0x00000032" + } + }, + "speed:200GAUI-2-L": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000005", + "lane1": "0x00000005", + "lane2": "0x00000005", + "lane3": "0x00000005", + "lane4": "0x00000005", + "lane5": "0x00000005", + "lane6": "0x00000005", + "lane7": "0x00000005" + }, + "pre1": { + "lane0": "0xfffffff1", + "lane1": "0xfffffff1", + "lane2": "0xfffffff1", + "lane3": "0xfffffff1", + "lane4": "0xfffffff1", + "lane5": "0xfffffff1", + "lane6": "0xfffffff1", + "lane7": "0xfffffff1" + }, + "main": { + "lane0": "0x0000002b", + "lane1": "0x0000002b", + "lane2": "0x0000002b", + "lane3": "0x0000002b", + "lane4": "0x0000002b", + "lane5": "0x0000002b", + "lane6": "0x0000002b", + "lane7": "0x0000002b" + }, + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "idriver": { + "lane0": "0x00000032", + "lane1": "0x00000032", + "lane2": "0x00000032", + "lane3": "0x00000032", + "lane4": "0x00000032", + "lane5": "0x00000032", + "lane6": "0x00000032", + "lane7": "0x00000032" + } + }, + "speed:200GAUI-4": { + "post1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000" + }, + "idriver": { + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f" + }, + "main": { + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f" + }, + "pre1": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000" + }, + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000" + }, + "pre2": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000" + } + } + } + } + } +} 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 100644 index 00000000000..80d06ac743a --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/optics_si_settings.json @@ -0,0 +1,142 @@ +{ + "GLOBAL_MEDIA_SETTINGS": { + "1-64": { + "100G_SPEED": { + "Default": { + "OutputAmplitudeTargetRx": { + "OutputAmplitudeTargetRx1": 1, + "OutputAmplitudeTargetRx2": 1, + "OutputAmplitudeTargetRx3": 1, + "OutputAmplitudeTargetRx4": 1, + "OutputAmplitudeTargetRx5": 1, + "OutputAmplitudeTargetRx6": 1, + "OutputAmplitudeTargetRx7": 1, + "OutputAmplitudeTargetRx8": 1 + }, + "OutputEqPreCursorTargetRx": { + "OutputEqPreCursorTargetRx1": 0, + "OutputEqPreCursorTargetRx2": 0, + "OutputEqPreCursorTargetRx3": 0, + "OutputEqPreCursorTargetRx4": 0, + "OutputEqPreCursorTargetRx5": 0, + "OutputEqPreCursorTargetRx6": 0, + "OutputEqPreCursorTargetRx7": 0, + "OutputEqPreCursorTargetRx8": 0 + }, + "OutputEqPostCursorTargetRx": { + "OutputEqPostCursorTargetRx1": 0, + "OutputEqPostCursorTargetRx2": 0, + "OutputEqPostCursorTargetRx3": 0, + "OutputEqPostCursorTargetRx4": 0, + "OutputEqPostCursorTargetRx5": 0, + "OutputEqPostCursorTargetRx6": 0, + "OutputEqPostCursorTargetRx7": 0, + "OutputEqPostCursorTargetRx8": 0 + } + } + }, + "50G_SPEED": { + "Default": { + "OutputAmplitudeTargetRx": { + "OutputAmplitudeTargetRx1": 1, + "OutputAmplitudeTargetRx2": 1, + "OutputAmplitudeTargetRx3": 1, + "OutputAmplitudeTargetRx4": 1, + "OutputAmplitudeTargetRx5": 1, + "OutputAmplitudeTargetRx6": 1, + "OutputAmplitudeTargetRx7": 1, + "OutputAmplitudeTargetRx8": 1 + }, + "OutputEqPreCursorTargetRx": { + "OutputEqPreCursorTargetRx1": 0, + "OutputEqPreCursorTargetRx2": 0, + "OutputEqPreCursorTargetRx3": 0, + "OutputEqPreCursorTargetRx4": 0, + "OutputEqPreCursorTargetRx5": 0, + "OutputEqPreCursorTargetRx6": 0, + "OutputEqPreCursorTargetRx7": 0, + "OutputEqPreCursorTargetRx8": 0 + }, + "OutputEqPostCursorTargetRx": { + "OutputEqPostCursorTargetRx1": 0, + "OutputEqPostCursorTargetRx2": 0, + "OutputEqPostCursorTargetRx3": 0, + "OutputEqPostCursorTargetRx4": 0, + "OutputEqPostCursorTargetRx5": 0, + "OutputEqPostCursorTargetRx6": 0, + "OutputEqPostCursorTargetRx7": 0, + "OutputEqPostCursorTargetRx8": 0 + } + } + }, + "25G_SPEED": { + "Default": { + "OutputAmplitudeTargetRx": { + "OutputAmplitudeTargetRx1": 0, + "OutputAmplitudeTargetRx2": 0, + "OutputAmplitudeTargetRx3": 0, + "OutputAmplitudeTargetRx4": 0, + "OutputAmplitudeTargetRx5": 0, + "OutputAmplitudeTargetRx6": 0, + "OutputAmplitudeTargetRx7": 0, + "OutputAmplitudeTargetRx8": 0 + }, + "OutputEqPreCursorTargetRx": { + "OutputEqPreCursorTargetRx1": 0, + "OutputEqPreCursorTargetRx2": 0, + "OutputEqPreCursorTargetRx3": 0, + "OutputEqPreCursorTargetRx4": 0, + "OutputEqPreCursorTargetRx5": 0, + "OutputEqPreCursorTargetRx6": 0, + "OutputEqPreCursorTargetRx7": 0, + "OutputEqPreCursorTargetRx8": 0 + }, + "OutputEqPostCursorTargetRx": { + "OutputEqPostCursorTargetRx1": 0, + "OutputEqPostCursorTargetRx2": 0, + "OutputEqPostCursorTargetRx3": 0, + "OutputEqPostCursorTargetRx4": 0, + "OutputEqPostCursorTargetRx5": 0, + "OutputEqPostCursorTargetRx6": 0, + "OutputEqPostCursorTargetRx7": 0, + "OutputEqPostCursorTargetRx8": 0 + } + } + }, + "10G_SPEED": { + "Default": { + "OutputAmplitudeTargetRx": { + "OutputAmplitudeTargetRx1": 0, + "OutputAmplitudeTargetRx2": 0, + "OutputAmplitudeTargetRx3": 0, + "OutputAmplitudeTargetRx4": 0, + "OutputAmplitudeTargetRx5": 0, + "OutputAmplitudeTargetRx6": 0, + "OutputAmplitudeTargetRx7": 0, + "OutputAmplitudeTargetRx8": 0 + }, + "OutputEqPreCursorTargetRx": { + "OutputEqPreCursorTargetRx1": 0, + "OutputEqPreCursorTargetRx2": 0, + "OutputEqPreCursorTargetRx3": 0, + "OutputEqPreCursorTargetRx4": 0, + "OutputEqPreCursorTargetRx5": 0, + "OutputEqPreCursorTargetRx6": 0, + "OutputEqPreCursorTargetRx7": 0, + "OutputEqPreCursorTargetRx8": 0 + }, + "OutputEqPostCursorTargetRx": { + "OutputEqPostCursorTargetRx1": 0, + "OutputEqPostCursorTargetRx2": 0, + "OutputEqPostCursorTargetRx3": 0, + "OutputEqPostCursorTargetRx4": 0, + "OutputEqPostCursorTargetRx5": 0, + "OutputEqPostCursorTargetRx6": 0, + "OutputEqPostCursorTargetRx7": 0, + "OutputEqPostCursorTargetRx8": 0 + } + } + } + } + } +} 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 00000000000..8a8fa6e3e24 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/pg_profile_lookup.ini @@ -0,0 +1,51 @@ +## +## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. +## Apache-2.0 +## +## Licensed under the Apache License, Version 2.0 (the "License"); +## you may not use this file except in compliance with the License. +## You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## +# 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 00000000000..208fa63ca29 --- /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 00000000000..2aa07089726 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/port_config.ini @@ -0,0 +1,276 @@ +## +## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. +## Apache-2.0 +## +## Licensed under the Apache License, Version 2.0 (the "License"); +## you may not use this file except in compliance with the License. +## You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## + +# name lanes alias index speed fec autoneg subport +Ethernet0 0 etp1a 1 100000 rs off 1 +Ethernet1 1 etp1b 1 100000 rs off 2 +Ethernet2 2 etp1c 1 100000 rs off 3 +Ethernet3 3 etp1d 1 100000 rs off 4 +Ethernet4 4 etp1e 1 100000 rs off 5 +Ethernet5 5 etp1f 1 100000 rs off 6 +Ethernet6 6 etp1g 1 100000 rs off 7 +Ethernet7 7 etp1h 1 100000 rs off 8 +Ethernet16 16 etp3a 3 100000 rs off 1 +Ethernet17 17 etp3b 3 100000 rs off 2 +Ethernet18 18 etp3c 3 100000 rs off 3 +Ethernet19 19 etp3d 3 100000 rs off 4 +Ethernet20 20 etp3e 3 100000 rs off 5 +Ethernet21 21 etp3f 3 100000 rs off 6 +Ethernet22 22 etp3g 3 100000 rs off 7 +Ethernet23 23 etp3h 3 100000 rs off 8 +Ethernet32 32 etp5a 5 100000 rs off 1 +Ethernet33 33 etp5b 5 100000 rs off 2 +Ethernet34 34 etp5c 5 100000 rs off 3 +Ethernet35 35 etp5d 5 100000 rs off 4 +Ethernet36 36 etp5e 5 100000 rs off 5 +Ethernet37 37 etp5f 5 100000 rs off 6 +Ethernet38 38 etp5g 5 100000 rs off 7 +Ethernet39 39 etp5h 5 100000 rs off 8 +Ethernet48 48 etp7a 7 100000 rs off 1 +Ethernet49 49 etp7b 7 100000 rs off 2 +Ethernet50 50 etp7c 7 100000 rs off 3 +Ethernet51 51 etp7d 7 100000 rs off 4 +Ethernet52 52 etp7e 7 100000 rs off 5 +Ethernet53 53 etp7f 7 100000 rs off 6 +Ethernet54 54 etp7g 7 100000 rs off 7 +Ethernet55 55 etp7h 7 100000 rs off 8 +Ethernet64 64 etp9a 9 100000 rs off 1 +Ethernet65 65 etp9b 9 100000 rs off 2 +Ethernet66 66 etp9c 9 100000 rs off 3 +Ethernet67 67 etp9d 9 100000 rs off 4 +Ethernet68 68 etp9e 9 100000 rs off 5 +Ethernet69 69 etp9f 9 100000 rs off 6 +Ethernet70 70 etp9g 9 100000 rs off 7 +Ethernet71 71 etp9h 9 100000 rs off 8 +Ethernet80 80 etp11a 11 100000 rs off 1 +Ethernet81 81 etp11b 11 100000 rs off 2 +Ethernet82 82 etp11c 11 100000 rs off 3 +Ethernet83 83 etp11d 11 100000 rs off 4 +Ethernet84 84 etp11e 11 100000 rs off 5 +Ethernet85 85 etp11f 11 100000 rs off 6 +Ethernet86 86 etp11g 11 100000 rs off 7 +Ethernet87 87 etp11h 11 100000 rs off 8 +Ethernet96 96 etp13a 13 100000 rs off 1 +Ethernet97 97 etp13b 13 100000 rs off 2 +Ethernet98 98 etp13c 13 100000 rs off 3 +Ethernet99 99 etp13d 13 100000 rs off 4 +Ethernet100 100 etp13e 13 100000 rs off 5 +Ethernet101 101 etp13f 13 100000 rs off 6 +Ethernet102 102 etp13g 13 100000 rs off 7 +Ethernet103 103 etp13h 13 100000 rs off 8 +Ethernet112 112 etp15a 15 100000 rs off 1 +Ethernet113 113 etp15b 15 100000 rs off 2 +Ethernet114 114 etp15c 15 100000 rs off 3 +Ethernet115 115 etp15d 15 100000 rs off 4 +Ethernet116 116 etp15e 15 100000 rs off 5 +Ethernet117 117 etp15f 15 100000 rs off 6 +Ethernet118 118 etp15g 15 100000 rs off 7 +Ethernet119 119 etp15h 15 100000 rs off 8 +Ethernet128 128 etp17a 17 100000 rs off 1 +Ethernet129 129 etp17b 17 100000 rs off 2 +Ethernet130 130 etp17c 17 100000 rs off 3 +Ethernet131 131 etp17d 17 100000 rs off 4 +Ethernet132 132 etp17e 17 100000 rs off 5 +Ethernet133 133 etp17f 17 100000 rs off 6 +Ethernet134 134 etp17g 17 100000 rs off 7 +Ethernet135 135 etp17h 17 100000 rs off 8 +Ethernet144 144 etp19a 19 100000 rs off 1 +Ethernet145 145 etp19b 19 100000 rs off 2 +Ethernet146 146 etp19c 19 100000 rs off 3 +Ethernet147 147 etp19d 19 100000 rs off 4 +Ethernet148 148 etp19e 19 100000 rs off 5 +Ethernet149 149 etp19f 19 100000 rs off 6 +Ethernet150 150 etp19g 19 100000 rs off 7 +Ethernet151 151 etp19h 19 100000 rs off 8 +Ethernet160 160 etp21a 21 100000 rs off 1 +Ethernet161 161 etp21b 21 100000 rs off 2 +Ethernet162 162 etp21c 21 100000 rs off 3 +Ethernet163 163 etp21d 21 100000 rs off 4 +Ethernet164 164 etp21e 21 100000 rs off 5 +Ethernet165 165 etp21f 21 100000 rs off 6 +Ethernet166 166 etp21g 21 100000 rs off 7 +Ethernet167 167 etp21h 21 100000 rs off 8 +Ethernet176 176 etp23a 23 100000 rs off 1 +Ethernet177 177 etp23b 23 100000 rs off 2 +Ethernet178 178 etp23c 23 100000 rs off 3 +Ethernet179 179 etp23d 23 100000 rs off 4 +Ethernet180 180 etp23e 23 100000 rs off 5 +Ethernet181 181 etp23f 23 100000 rs off 6 +Ethernet182 182 etp23g 23 100000 rs off 7 +Ethernet183 183 etp23h 23 100000 rs off 8 +Ethernet192 192 etp25a 25 100000 rs off 1 +Ethernet193 193 etp25b 25 100000 rs off 2 +Ethernet194 194 etp25c 25 100000 rs off 3 +Ethernet195 195 etp25d 25 100000 rs off 4 +Ethernet196 196 etp25e 25 100000 rs off 5 +Ethernet197 197 etp25f 25 100000 rs off 6 +Ethernet198 198 etp25g 25 100000 rs off 7 +Ethernet199 199 etp25h 25 100000 rs off 8 +Ethernet208 208 etp27a 27 100000 rs off 1 +Ethernet209 209 etp27b 27 100000 rs off 2 +Ethernet210 210 etp27c 27 100000 rs off 3 +Ethernet211 211 etp27d 27 100000 rs off 4 +Ethernet212 212 etp27e 27 100000 rs off 5 +Ethernet213 213 etp27f 27 100000 rs off 6 +Ethernet214 214 etp27g 27 100000 rs off 7 +Ethernet215 215 etp27h 27 100000 rs off 8 +Ethernet224 224 etp29a 29 100000 rs off 1 +Ethernet225 225 etp29b 29 100000 rs off 2 +Ethernet226 226 etp29c 29 100000 rs off 3 +Ethernet227 227 etp29d 29 100000 rs off 4 +Ethernet228 228 etp29e 29 100000 rs off 5 +Ethernet229 229 etp29f 29 100000 rs off 6 +Ethernet230 230 etp29g 29 100000 rs off 7 +Ethernet231 231 etp29h 29 100000 rs off 8 +Ethernet240 240 etp31a 31 100000 rs off 1 +Ethernet241 241 etp31b 31 100000 rs off 2 +Ethernet242 242 etp31c 31 100000 rs off 3 +Ethernet243 243 etp31d 31 100000 rs off 4 +Ethernet244 244 etp31e 31 100000 rs off 5 +Ethernet245 245 etp31f 31 100000 rs off 6 +Ethernet246 246 etp31g 31 100000 rs off 7 +Ethernet247 247 etp31h 31 100000 rs off 8 +Ethernet256 256 etp33a 33 100000 rs off 1 +Ethernet257 257 etp33b 33 100000 rs off 2 +Ethernet258 258 etp33c 33 100000 rs off 3 +Ethernet259 259 etp33d 33 100000 rs off 4 +Ethernet260 260 etp33e 33 100000 rs off 5 +Ethernet261 261 etp33f 33 100000 rs off 6 +Ethernet262 262 etp33g 33 100000 rs off 7 +Ethernet263 263 etp33h 33 100000 rs off 8 +Ethernet272 272 etp35a 35 100000 rs off 1 +Ethernet273 273 etp35b 35 100000 rs off 2 +Ethernet274 274 etp35c 35 100000 rs off 3 +Ethernet275 275 etp35d 35 100000 rs off 4 +Ethernet276 276 etp35e 35 100000 rs off 5 +Ethernet277 277 etp35f 35 100000 rs off 6 +Ethernet278 278 etp35g 35 100000 rs off 7 +Ethernet279 279 etp35h 35 100000 rs off 8 +Ethernet288 288 etp37a 37 100000 rs off 1 +Ethernet289 289 etp37b 37 100000 rs off 2 +Ethernet290 290 etp37c 37 100000 rs off 3 +Ethernet291 291 etp37d 37 100000 rs off 4 +Ethernet292 292 etp37e 37 100000 rs off 5 +Ethernet293 293 etp37f 37 100000 rs off 6 +Ethernet294 294 etp37g 37 100000 rs off 7 +Ethernet295 295 etp37h 37 100000 rs off 8 +Ethernet304 304 etp39a 39 100000 rs off 1 +Ethernet305 305 etp39b 39 100000 rs off 2 +Ethernet306 306 etp39c 39 100000 rs off 3 +Ethernet307 307 etp39d 39 100000 rs off 4 +Ethernet308 308 etp39e 39 100000 rs off 5 +Ethernet309 309 etp39f 39 100000 rs off 6 +Ethernet310 310 etp39g 39 100000 rs off 7 +Ethernet311 311 etp39h 39 100000 rs off 8 +Ethernet320 320 etp41a 41 100000 rs off 1 +Ethernet321 321 etp41b 41 100000 rs off 2 +Ethernet322 322 etp41c 41 100000 rs off 3 +Ethernet323 323 etp41d 41 100000 rs off 4 +Ethernet324 324 etp41e 41 100000 rs off 5 +Ethernet325 325 etp41f 41 100000 rs off 6 +Ethernet326 326 etp41g 41 100000 rs off 7 +Ethernet327 327 etp41h 41 100000 rs off 8 +Ethernet336 336 etp43a 43 100000 rs off 1 +Ethernet337 337 etp43b 43 100000 rs off 2 +Ethernet338 338 etp43c 43 100000 rs off 3 +Ethernet339 339 etp43d 43 100000 rs off 4 +Ethernet340 340 etp43e 43 100000 rs off 5 +Ethernet341 341 etp43f 43 100000 rs off 6 +Ethernet342 342 etp43g 43 100000 rs off 7 +Ethernet343 343 etp43h 43 100000 rs off 8 +Ethernet352 352 etp45a 45 100000 rs off 1 +Ethernet353 353 etp45b 45 100000 rs off 2 +Ethernet354 354 etp45c 45 100000 rs off 3 +Ethernet355 355 etp45d 45 100000 rs off 4 +Ethernet356 356 etp45e 45 100000 rs off 5 +Ethernet357 357 etp45f 45 100000 rs off 6 +Ethernet358 358 etp45g 45 100000 rs off 7 +Ethernet359 359 etp45h 45 100000 rs off 8 +Ethernet368 368 etp47a 47 100000 rs off 1 +Ethernet369 369 etp47b 47 100000 rs off 2 +Ethernet370 370 etp47c 47 100000 rs off 3 +Ethernet371 371 etp47d 47 100000 rs off 4 +Ethernet372 372 etp47e 47 100000 rs off 5 +Ethernet373 373 etp47f 47 100000 rs off 6 +Ethernet374 374 etp47g 47 100000 rs off 7 +Ethernet375 375 etp47h 47 100000 rs off 8 +Ethernet384 384 etp49a 49 100000 rs off 1 +Ethernet385 385 etp49b 49 100000 rs off 2 +Ethernet386 386 etp49c 49 100000 rs off 3 +Ethernet387 387 etp49d 49 100000 rs off 4 +Ethernet388 388 etp49e 49 100000 rs off 5 +Ethernet389 389 etp49f 49 100000 rs off 6 +Ethernet390 390 etp49g 49 100000 rs off 7 +Ethernet391 391 etp49h 49 100000 rs off 8 +Ethernet400 400 etp51a 51 100000 rs off 1 +Ethernet401 401 etp51b 51 100000 rs off 2 +Ethernet402 402 etp51c 51 100000 rs off 3 +Ethernet403 403 etp51d 51 100000 rs off 4 +Ethernet404 404 etp51e 51 100000 rs off 5 +Ethernet405 405 etp51f 51 100000 rs off 6 +Ethernet406 406 etp51g 51 100000 rs off 7 +Ethernet407 407 etp51h 51 100000 rs off 8 +Ethernet416 416 etp53a 53 100000 rs off 1 +Ethernet417 417 etp53b 53 100000 rs off 2 +Ethernet418 418 etp53c 53 100000 rs off 3 +Ethernet419 419 etp53d 53 100000 rs off 4 +Ethernet420 420 etp53e 53 100000 rs off 5 +Ethernet421 421 etp53f 53 100000 rs off 6 +Ethernet422 422 etp53g 53 100000 rs off 7 +Ethernet423 423 etp53h 53 100000 rs off 8 +Ethernet432 432 etp55a 55 100000 rs off 1 +Ethernet433 433 etp55b 55 100000 rs off 2 +Ethernet434 434 etp55c 55 100000 rs off 3 +Ethernet435 435 etp55d 55 100000 rs off 4 +Ethernet436 436 etp55e 55 100000 rs off 5 +Ethernet437 437 etp55f 55 100000 rs off 6 +Ethernet438 438 etp55g 55 100000 rs off 7 +Ethernet439 439 etp55h 55 100000 rs off 8 +Ethernet448 448 etp57a 57 100000 rs off 1 +Ethernet449 449 etp57b 57 100000 rs off 2 +Ethernet450 450 etp57c 57 100000 rs off 3 +Ethernet451 451 etp57d 57 100000 rs off 4 +Ethernet452 452 etp57e 57 100000 rs off 5 +Ethernet453 453 etp57f 57 100000 rs off 6 +Ethernet454 454 etp57g 57 100000 rs off 7 +Ethernet455 455 etp57h 57 100000 rs off 8 +Ethernet464 464 etp59a 59 100000 rs off 1 +Ethernet465 465 etp59b 59 100000 rs off 2 +Ethernet466 466 etp59c 59 100000 rs off 3 +Ethernet467 467 etp59d 59 100000 rs off 4 +Ethernet468 468 etp59e 59 100000 rs off 5 +Ethernet469 469 etp59f 59 100000 rs off 6 +Ethernet470 470 etp59g 59 100000 rs off 7 +Ethernet471 471 etp59h 59 100000 rs off 8 +Ethernet480 480 etp61a 61 100000 rs off 1 +Ethernet481 481 etp61b 61 100000 rs off 2 +Ethernet482 482 etp61c 61 100000 rs off 3 +Ethernet483 483 etp61d 61 100000 rs off 4 +Ethernet484 484 etp61e 61 100000 rs off 5 +Ethernet485 485 etp61f 61 100000 rs off 6 +Ethernet486 486 etp61g 61 100000 rs off 7 +Ethernet487 487 etp61h 61 100000 rs off 8 +Ethernet496 496 etp63a 63 100000 rs off 1 +Ethernet497 497 etp63b 63 100000 rs off 2 +Ethernet498 498 etp63c 63 100000 rs off 3 +Ethernet499 499 etp63d 63 100000 rs off 4 +Ethernet500 500 etp63e 63 100000 rs off 5 +Ethernet501 501 etp63f 63 100000 rs off 6 +Ethernet502 502 etp63g 63 100000 rs off 7 +Ethernet503 503 etp63h 63 100000 rs off 8 +Ethernet512 512 etp65 65 10000 rs +Ethernet520 520 etp66 66 10000 rs 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 120000 index 00000000000..eccf286dc87 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2 \ No newline at end of file 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 00000000000..b9b78d462b8 --- /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 00000000000..fba7da74434 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/sai_5610n_256x100g.xml @@ -0,0 +1,636 @@ + + + + + + + 00:77:66:55:44:00 + + + 1 + + + 66 + + + + + 1 + 8 + 34 + 3 + 4096 + 2 + true + + + 5 + 8 + 35 + 3 + 4096 + 2 + true + + + 9 + 8 + 33 + 3 + 4096 + 2 + true + + + 13 + 8 + 32 + 3 + 4096 + 2 + true + + + 17 + 8 + 38 + 3 + 4096 + 2 + true + + + 21 + 8 + 39 + 3 + 4096 + 2 + true + + + 25 + 8 + 37 + 3 + 4096 + 2 + true + + + 29 + 8 + 36 + 3 + 4096 + 2 + true + + + 33 + 8 + 42 + 3 + 4096 + 2 + true + + + 37 + 8 + 43 + 3 + 4096 + 2 + true + + + 41 + 8 + 41 + 3 + 4096 + 2 + true + + + 45 + 8 + 40 + 3 + 4096 + 2 + true + + + 49 + 8 + 46 + 3 + 4096 + 2 + true + + + 53 + 8 + 47 + 3 + 4096 + 2 + true + + + 57 + 8 + 45 + 3 + 4096 + 2 + true + + + 61 + 8 + 44 + 3 + 4096 + 2 + true + + + 65 + 8 + 51 + 3 + 4096 + 2 + true + + + 69 + 8 + 50 + 3 + 4096 + 2 + true + + + 73 + 8 + 48 + 3 + 4096 + 2 + true + + + 77 + 8 + 49 + 3 + 4096 + 2 + true + + + 81 + 8 + 55 + 3 + 4096 + 2 + true + + + 85 + 8 + 54 + 3 + 4096 + 2 + true + + + 89 + 8 + 52 + 3 + 4096 + 2 + true + + + 93 + 8 + 53 + 3 + 4096 + 2 + true + + + 97 + 8 + 59 + 3 + 4096 + 2 + true + + + 101 + 8 + 58 + 3 + 4096 + 2 + true + + + 105 + 8 + 56 + + + 3 + + + 4096 + 2 + true + + + 109 + 8 + 57 + 3 + 4096 + 2 + true + + + 113 + 8 + 63 + 3 + 4096 + 2 + true + + + 117 + 8 + 62 + 3 + 4096 + 2 + true + + + 121 + 8 + 60 + 3 + 4096 + 2 + true + + + 125 + 8 + 61 + 3 + 4096 + 2 + true + + + 129 + 8 + 29 + 3 + 4096 + 2 + true + + + 133 + 8 + 28 + 3 + 4096 + 2 + true + + + 137 + 8 + 30 + 3 + 4096 + 2 + true + + + 141 + 8 + 31 + 3 + 4096 + 2 + true + + + 145 + 8 + 25 + 3 + 4096 + 2 + true + + + 149 + 8 + 24 + 3 + 4096 + 2 + true + + + 153 + 8 + 26 + 3 + 4096 + 2 + true + + + 157 + 8 + 27 + 3 + 4096 + 2 + true + + + 161 + 8 + 21 + 3 + 4096 + 2 + true + + + 165 + 8 + 20 + 3 + 4096 + 2 + true + + + 169 + 8 + 22 + 3 + 4096 + 2 + true + + + 173 + 8 + 23 + 3 + 4096 + 2 + true + + + 177 + 8 + 17 + 3 + 4096 + 2 + true + + + 181 + 8 + 16 + 3 + 4096 + 2 + true + + + 185 + 8 + 18 + 3 + 4096 + 2 + true + + + 189 + 8 + 19 + 3 + 4096 + 2 + true + + + 193 + 8 + 12 + 3 + 4096 + 2 + true + + + 197 + 8 + 13 + 3 + 4096 + 2 + true + + + 201 + 8 + 15 + 3 + 4096 + 2 + true + + + 205 + 8 + 14 + 3 + 4096 + 2 + true + + + 209 + 8 + 8 + 3 + 4096 + 2 + true + + + 213 + 8 + 9 + 3 + 4096 + 2 + true + + + 217 + 8 + 11 + 3 + 4096 + 2 + true + + + 221 + 8 + 10 + 3 + 4096 + 2 + true + + + 225 + 8 + 4 + 3 + 4096 + 2 + true + + + 229 + 8 + 5 + 3 + 4096 + 2 + true + + + 233 + 8 + 7 + + + 3 + + + 4096 + 2 + true + + + 237 + 8 + 6 + 3 + 4096 + 2 + true + + + 241 + 8 + 0 + 3 + 4096 + 2 + true + + + 245 + 8 + 1 + 3 + 4096 + 2 + true + + + 249 + 8 + 3 + 3 + 4096 + 2 + true + + + 253 + 8 + 2 + 3 + 4096 + 2 + true + + + 257 + 1 + 64 + 0 + 4 + true + + + 258 + 1 + 65 + 0 + 4 + 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 00000000000..178f0575d04 --- /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 00000000000..c194458cb1e --- /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 00000000000..d5ba3c277e8 --- /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 amd_iommu=off" 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 00000000000..67070ca239f --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml @@ -0,0 +1,313 @@ +- 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: '00' + dev: '19' + 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: '19' + 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: '19' + 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: '19' + 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: '19' + 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: '19' + 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: '19' + 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: '19' + 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: '4' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] XGMAC 10GbE Controller' +- bus: '40' + dev: '00' + fn: '0' + id: '1450' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) + Root Complex' +- bus: '40' + dev: '00' + fn: '2' + id: '1451' + name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O + Memory Management Unit' +- bus: '40' + dev: '01' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '40' + dev: '02' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '40' + dev: '03' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '40' + dev: '04' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '40' + dev: '07' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '40' + 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: '40' + dev: 08 + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) + PCIe Dummy Host Bridge' +- bus: '40' + 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: '41' + dev: '00' + fn: '0' + id: 145a + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] + Zeppelin/Raven/Raven2 PCIe Dummy Function' +- bus: '41' + 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: '41' + dev: '00' + fn: '3' + id: 145f + name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 xHCI + Compliant Host Controller' +- bus: '42' + dev: '00' + fn: '0' + id: '1455' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] + Zeppelin/Renoir PCIe Dummy Function' +- bus: '42' + dev: '00' + fn: '1' + id: '1468' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic + Coprocessor NTBCCP' 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 00000000000..ae69d765422 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json @@ -0,0 +1,1356 @@ +{ + "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 COMEX Temp" + }, + { + "name": "Ambient Fan Side Temp" + }, + { + "name": "Ambient Port Side Temp" + }, + { + "name": "CPU Core 0 Temp" + }, + { + "name": "CPU Core 1 Temp" + }, + { + "name": "CPU Core 2 Temp" + }, + { + "name": "CPU Core 3 Temp" + }, + { + "name": "CPU Pack 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 00000000000..70c07488555 --- /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 00000000000..687fb9f67a6 --- /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 00000000000..4b30bd42985 --- /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 00000000000..b4e2a6a6167 --- /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 00000000000..9f724238a8d --- /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 00000000000..2e84f435abd --- /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 00000000000..6a88bac3046 --- /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 00000000000..fef2063e349 --- /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 00000000000..45909b880fc --- /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 00000000000..fefdfb32739 --- /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 00000000000..e69de29bb2d 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 00000000000..6fc31078ee8 --- /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 00000000000..5816694317d --- /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 00000000000..b9686d838e0 --- /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 00000000000..cac9a5e83e7 --- /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 00000000000..98df66c27ca --- /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 00000000000..5a25cd87f70 --- /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 b45d0588a55..4547f07fb31 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 3f511a67ced..a32bdde4596 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": { From 1e7200f7181cec193fba54cf8495b3cb1263ffda Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Thu, 5 Dec 2024 13:42:18 +0200 Subject: [PATCH 02/17] Update headers to files under SN5610N --- .../buffers_defaults_objects.j2 | 3 ++- .../pg_profile_lookup.ini | 3 ++- .../Mellanox-SN5610N-C224O8/port_config.ini | 3 ++- .../sai_5610n_256x100g.xml | 3 ++- .../buffers_defaults_t0.j2 | 3 ++- .../buffers_defaults_t1.j2 | 3 ++- .../buffers_dynamic.json.j2 | 3 ++- .../pg_profile_lookup.ini | 3 ++- .../Mellanox-SN5610N-C256S2/port_config.ini | 3 ++- .../sai_5610n_256x100g.xml | 3 ++- .../x86_64-nvidia_sn5610n-r0/pcie.yaml | 18 ++++++++++++++++++ 11 files changed, 38 insertions(+), 10 deletions(-) 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 index 6bf657d1fb7..5e81f7a5585 100644 --- 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 @@ -1,5 +1,6 @@ {# - Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. + SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES + Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); 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 index f97de761e9d..936bd42836e 100644 --- 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 @@ -1,5 +1,6 @@ ## -## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. +## 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"); 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 index b78c2ff31a3..baabf290b02 100644 --- 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 @@ -1,5 +1,6 @@ ## -## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. +## 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"); diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_256x100g.xml b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_256x100g.xml index fba7da74434..ef261b37406 100644 --- a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_256x100g.xml +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/sai_5610n_256x100g.xml @@ -1,6 +1,7 @@ - 1 + 0 66 @@ -35,7 +35,7 @@ 8 34 3 - 4096 + 32768 2 true @@ -44,7 +44,7 @@ 8 35 3 - 4096 + 32768 2 true @@ -53,7 +53,7 @@ 8 33 3 - 4096 + 32768 2 true @@ -62,7 +62,7 @@ 8 32 3 - 4096 + 32768 2 true @@ -71,7 +71,7 @@ 8 38 3 - 4096 + 32768 2 true @@ -80,7 +80,7 @@ 8 39 3 - 4096 + 32768 2 true @@ -89,7 +89,7 @@ 8 37 3 - 4096 + 32768 2 true @@ -98,7 +98,7 @@ 8 36 3 - 4096 + 32768 2 true @@ -107,7 +107,7 @@ 8 42 3 - 4096 + 32768 2 true @@ -116,7 +116,7 @@ 8 43 3 - 4096 + 32768 2 true @@ -125,7 +125,7 @@ 8 41 3 - 4096 + 32768 2 true @@ -134,7 +134,7 @@ 8 40 3 - 4096 + 32768 2 true @@ -143,7 +143,7 @@ 8 46 3 - 4096 + 32768 2 true @@ -152,7 +152,7 @@ 8 47 3 - 4096 + 32768 2 true @@ -161,7 +161,7 @@ 8 45 3 - 4096 + 32768 2 true @@ -170,7 +170,7 @@ 8 44 3 - 4096 + 32768 2 true @@ -179,7 +179,7 @@ 8 51 3 - 4096 + 32768 2 true @@ -188,7 +188,7 @@ 8 50 3 - 4096 + 32768 2 true @@ -197,7 +197,7 @@ 8 48 3 - 4096 + 32768 2 true @@ -206,7 +206,7 @@ 8 49 3 - 4096 + 32768 2 true @@ -215,7 +215,7 @@ 8 55 3 - 4096 + 32768 2 true @@ -224,7 +224,7 @@ 8 54 3 - 4096 + 32768 2 true @@ -233,7 +233,7 @@ 8 52 3 - 4096 + 32768 2 true @@ -242,7 +242,7 @@ 8 53 3 - 4096 + 32768 2 true @@ -251,7 +251,7 @@ 8 59 3 - 4096 + 32768 2 true @@ -260,7 +260,7 @@ 8 58 3 - 4096 + 32768 2 true @@ -273,7 +273,7 @@ 3 - 4096 + 32768 2 true @@ -282,7 +282,7 @@ 8 57 3 - 4096 + 32768 2 true @@ -291,7 +291,7 @@ 8 63 3 - 4096 + 32768 2 true @@ -300,7 +300,7 @@ 8 62 3 - 4096 + 32768 2 true @@ -309,7 +309,7 @@ 8 60 3 - 4096 + 32768 2 true @@ -318,7 +318,7 @@ 8 61 3 - 4096 + 32768 2 true @@ -327,7 +327,7 @@ 8 29 3 - 4096 + 32768 2 true @@ -336,7 +336,7 @@ 8 28 3 - 4096 + 32768 2 true @@ -345,7 +345,7 @@ 8 30 3 - 4096 + 32768 2 true @@ -354,7 +354,7 @@ 8 31 3 - 4096 + 32768 2 true @@ -363,7 +363,7 @@ 8 25 3 - 4096 + 32768 2 true @@ -372,7 +372,7 @@ 8 24 3 - 4096 + 32768 2 true @@ -381,7 +381,7 @@ 8 26 3 - 4096 + 32768 2 true @@ -390,7 +390,7 @@ 8 27 3 - 4096 + 32768 2 true @@ -399,7 +399,7 @@ 8 21 3 - 4096 + 32768 2 true @@ -408,7 +408,7 @@ 8 20 3 - 4096 + 32768 2 true @@ -417,7 +417,7 @@ 8 22 3 - 4096 + 32768 2 true @@ -426,7 +426,7 @@ 8 23 3 - 4096 + 32768 2 true @@ -435,7 +435,7 @@ 8 17 3 - 4096 + 32768 2 true @@ -444,7 +444,7 @@ 8 16 3 - 4096 + 32768 2 true @@ -453,7 +453,7 @@ 8 18 3 - 4096 + 32768 2 true @@ -462,7 +462,7 @@ 8 19 3 - 4096 + 32768 2 true @@ -471,7 +471,7 @@ 8 12 3 - 4096 + 32768 2 true @@ -480,7 +480,7 @@ 8 13 3 - 4096 + 32768 2 true @@ -489,7 +489,7 @@ 8 15 3 - 4096 + 32768 2 true @@ -498,7 +498,7 @@ 8 14 3 - 4096 + 32768 2 true @@ -507,7 +507,7 @@ 8 8 3 - 4096 + 32768 2 true @@ -516,7 +516,7 @@ 8 9 3 - 4096 + 32768 2 true @@ -525,7 +525,7 @@ 8 11 3 - 4096 + 32768 2 true @@ -534,7 +534,7 @@ 8 10 3 - 4096 + 32768 2 true @@ -543,7 +543,7 @@ 8 4 3 - 4096 + 32768 2 true @@ -552,7 +552,7 @@ 8 5 3 - 4096 + 32768 2 true @@ -565,7 +565,7 @@ 3 - 4096 + 32768 2 true @@ -574,7 +574,7 @@ 8 6 3 - 4096 + 32768 2 true @@ -583,7 +583,7 @@ 8 0 3 - 4096 + 32768 2 true @@ -592,7 +592,7 @@ 8 1 3 - 4096 + 32768 2 true @@ -601,7 +601,7 @@ 8 3 3 - 4096 + 32768 2 true @@ -610,7 +610,7 @@ 8 2 3 - 4096 + 32768 2 true @@ -619,19 +619,17 @@ 1 64 0 - 4 + 16 true 258 - 1 + 1 65 0 - 4 + 16 true - - 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 index ef261b37406..b0fb1340857 100644 --- 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 @@ -23,7 +23,7 @@ 00:77:66:55:44:00 - 1 + 0 66 @@ -35,7 +35,7 @@ 8 34 3 - 4096 + 32768 2 true @@ -44,7 +44,7 @@ 8 35 3 - 4096 + 32768 2 true @@ -53,7 +53,7 @@ 8 33 3 - 4096 + 32768 2 true @@ -62,7 +62,7 @@ 8 32 3 - 4096 + 32768 2 true @@ -71,7 +71,7 @@ 8 38 3 - 4096 + 32768 2 true @@ -80,7 +80,7 @@ 8 39 3 - 4096 + 32768 2 true @@ -89,7 +89,7 @@ 8 37 3 - 4096 + 32768 2 true @@ -98,7 +98,7 @@ 8 36 3 - 4096 + 32768 2 true @@ -107,7 +107,7 @@ 8 42 3 - 4096 + 32768 2 true @@ -116,7 +116,7 @@ 8 43 3 - 4096 + 32768 2 true @@ -125,7 +125,7 @@ 8 41 3 - 4096 + 32768 2 true @@ -134,7 +134,7 @@ 8 40 3 - 4096 + 32768 2 true @@ -143,7 +143,7 @@ 8 46 3 - 4096 + 32768 2 true @@ -152,7 +152,7 @@ 8 47 3 - 4096 + 32768 2 true @@ -161,7 +161,7 @@ 8 45 3 - 4096 + 32768 2 true @@ -170,7 +170,7 @@ 8 44 3 - 4096 + 32768 2 true @@ -179,7 +179,7 @@ 8 51 3 - 4096 + 32768 2 true @@ -188,7 +188,7 @@ 8 50 3 - 4096 + 32768 2 true @@ -197,7 +197,7 @@ 8 48 3 - 4096 + 32768 2 true @@ -206,7 +206,7 @@ 8 49 3 - 4096 + 32768 2 true @@ -215,7 +215,7 @@ 8 55 3 - 4096 + 32768 2 true @@ -224,7 +224,7 @@ 8 54 3 - 4096 + 32768 2 true @@ -233,7 +233,7 @@ 8 52 3 - 4096 + 32768 2 true @@ -242,7 +242,7 @@ 8 53 3 - 4096 + 32768 2 true @@ -251,7 +251,7 @@ 8 59 3 - 4096 + 32768 2 true @@ -260,7 +260,7 @@ 8 58 3 - 4096 + 32768 2 true @@ -273,7 +273,7 @@ 3 - 4096 + 32768 2 true @@ -282,7 +282,7 @@ 8 57 3 - 4096 + 32768 2 true @@ -291,7 +291,7 @@ 8 63 3 - 4096 + 32768 2 true @@ -300,7 +300,7 @@ 8 62 3 - 4096 + 32768 2 true @@ -309,7 +309,7 @@ 8 60 3 - 4096 + 32768 2 true @@ -318,7 +318,7 @@ 8 61 3 - 4096 + 32768 2 true @@ -327,7 +327,7 @@ 8 29 3 - 4096 + 32768 2 true @@ -336,7 +336,7 @@ 8 28 3 - 4096 + 32768 2 true @@ -345,7 +345,7 @@ 8 30 3 - 4096 + 32768 2 true @@ -354,7 +354,7 @@ 8 31 3 - 4096 + 32768 2 true @@ -363,7 +363,7 @@ 8 25 3 - 4096 + 32768 2 true @@ -372,7 +372,7 @@ 8 24 3 - 4096 + 32768 2 true @@ -381,7 +381,7 @@ 8 26 3 - 4096 + 32768 2 true @@ -390,7 +390,7 @@ 8 27 3 - 4096 + 32768 2 true @@ -399,7 +399,7 @@ 8 21 3 - 4096 + 32768 2 true @@ -408,7 +408,7 @@ 8 20 3 - 4096 + 32768 2 true @@ -417,7 +417,7 @@ 8 22 3 - 4096 + 32768 2 true @@ -426,7 +426,7 @@ 8 23 3 - 4096 + 32768 2 true @@ -435,7 +435,7 @@ 8 17 3 - 4096 + 32768 2 true @@ -444,7 +444,7 @@ 8 16 3 - 4096 + 32768 2 true @@ -453,7 +453,7 @@ 8 18 3 - 4096 + 32768 2 true @@ -462,7 +462,7 @@ 8 19 3 - 4096 + 32768 2 true @@ -471,7 +471,7 @@ 8 12 3 - 4096 + 32768 2 true @@ -480,7 +480,7 @@ 8 13 3 - 4096 + 32768 2 true @@ -489,7 +489,7 @@ 8 15 3 - 4096 + 32768 2 true @@ -498,7 +498,7 @@ 8 14 3 - 4096 + 32768 2 true @@ -507,7 +507,7 @@ 8 8 3 - 4096 + 32768 2 true @@ -516,7 +516,7 @@ 8 9 3 - 4096 + 32768 2 true @@ -525,7 +525,7 @@ 8 11 3 - 4096 + 32768 2 true @@ -534,7 +534,7 @@ 8 10 3 - 4096 + 32768 2 true @@ -543,7 +543,7 @@ 8 4 3 - 4096 + 32768 2 true @@ -552,7 +552,7 @@ 8 5 3 - 4096 + 32768 2 true @@ -565,7 +565,7 @@ 3 - 4096 + 32768 2 true @@ -574,7 +574,7 @@ 8 6 3 - 4096 + 32768 2 true @@ -583,7 +583,7 @@ 8 0 3 - 4096 + 32768 2 true @@ -592,7 +592,7 @@ 8 1 3 - 4096 + 32768 2 true @@ -601,7 +601,7 @@ 8 3 3 - 4096 + 32768 2 true @@ -610,7 +610,7 @@ 8 2 3 - 4096 + 32768 2 true @@ -619,19 +619,17 @@ 1 64 0 - 4 + 16 true 258 - 1 + 1 65 0 - 4 + 16 true - - From 040b378c3639870294bd753139e2644f6a5bd2ff Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Wed, 18 Dec 2024 15:16:37 +0200 Subject: [PATCH 08/17] Update buffers_defaults_objects.j2 type --- .../buffers_defaults_objects.j2 | 311 +----------------- 1 file changed, 1 insertion(+), 310 deletions(-) mode change 100644 => 120000 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2 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 deleted file mode 100644 index 5e81f7a5585..00000000000 --- a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2 +++ /dev/null @@ -1,310 +0,0 @@ -{# - SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - Copyright (c) 2022-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. -#} - -{%- 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 }}", - "xoff": "{{ ingress_lossless_pool_xoff }}", - {% 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_lossless_profile": { - "pool":"ingress_lossless_pool", - "size":"0", - "dynamic_th":"7" - }, - "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":"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_lossless_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_lossless_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_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) %} - "BUFFER_QUEUE": { -{% set q_loop = namespace(last_valid=false) %} -{% for port in port_names_active.split(',') %} -{% if port not in port_names_extra_queues.split(',') %} - "{{ port }}|3-4": { - "profile" : "egress_lossless_profile" - }, -{% endif %} -{% endfor %} -{% for port in port_names_active.split(',') %} -{% if port not in port_names_extra_queues.split(',') %} - "{{ port }}|0-2": { - "profile" : "q_lossy_profile" - }, -{% endif %} -{% endfor %} -{% for port in port_names_active.split(',') %} -{% if port not in port_names_extra_queues.split(',') %} -{% if port_names_extra_queues|length > 0 %} - "{{ port }}|5-7": { -{% else %} - "{{ port }}|5-6": { -{% endif %} - "profile" : "q_lossy_profile" - }{% if not loop.last %},{% endif %} - -{% set q_loop.last_valid = true %} -{% else %} -{% set q_loop.last_valid = false %} -{% endif %} -{% endfor %} -{% if port_names_extra_queues|length > 0 %} -{% if q_loop.last_valid %},{% endif %} -{% for port in port_names_extra_queues.split(',') %} - "{{ port }}|0-1": { - "profile" : "q_lossy_profile" - }, - "{{ port }}|2-4": { - "profile" : "egress_lossless_profile" - }, - "{{ port }}|5": { - "profile" : "q_lossy_profile" - }, - "{{ port }}|6": { - "profile" : "egress_lossless_profile" - }, - "{{ port }}|7": { - "profile" : "q_lossy_profile" - }{% if not loop.last %},{% endif %} - -{% endfor %} -{% endif %} -{% if port_names_inactive|length > 0 %} -, -{% if dynamic_mode is defined %} -{% for port in port_names_inactive.split(',') %} - "{{ port }}|3-4": { - "profile" : "egress_lossless_profile" - }, -{% endfor %} -{% for port in port_names_inactive.split(',') %} - "{{ port }}|0-2": { - "profile" : "q_lossy_profile" - }, -{% endfor %} -{% for port in port_names_inactive.split(',') %} -{% if port_names_extra_queues|length > 0 %} - "{{ port }}|5-7": { -{% else %} - "{{ port }}|5-6": { -{% endif %} - "profile" : "q_lossy_profile" - }{% if not loop.last %},{% endif %} - -{% endfor %} -{% else %} -{% for port in port_names_inactive.split(',') %} - "{{ port }}|3-4": { - "profile" : "egress_lossless_zero_profile" - }, -{% endfor %} -{% for port in port_names_inactive.split(',') %} - "{{ port }}|0-2": { - "profile" : "egress_lossy_zero_profile" - }, -{% endfor %} -{% for port in port_names_inactive.split(',') %} -{% if port_names_extra_queues|length > 0 %} - "{{ port }}|5-7": { -{% else %} - "{{ port }}|5-6": { -{% endif %} - "profile" : "egress_lossy_zero_profile" - }{% if not loop.last %},{% endif %} - -{% endfor %} -{% endif %} -{% endif %} - } -{%- endmacro %} - -{%- macro generate_queue_buffers(port_names_active, port_names_inactive) %} -{{ generate_queue_buffers_with_extra_lossless_queues(port_names_active, "", port_names_inactive) }} -{%- endmacro %} - -{%- macro generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) %} - "BUFFER_PG": { -{% set pg_loop = namespace(last_valid=false) %} -{% for port in port_names_active.split(',') %} -{% if port not in port_names_extra_pgs.split(',') %} -{% if dynamic_mode is defined %} - "{{ port }}|3-4": { - "profile" : "NULL" - }, -{% endif %} - "{{ port }}|0": { - "profile" : "ingress_lossy_profile" - }{% if not loop.last %},{% endif %} - -{% set pg_loop.last_valid = true %} -{% else %} -{% set pg_loop.last_valid = false %} -{% endif %} -{% endfor %} -{% if port_names_extra_pgs|length > 0 %} -{% if pg_loop.last_valid %},{% endif %} -{% for port in port_names_extra_pgs.split(',') %} -{% if dynamic_mode is defined %} - "{{ port }}|2-4": { - "profile" : "NULL" - }, - "{{ port }}|6": { - "profile" : "NULL" - }, -{% endif %} - "{{ port }}|0": { - "profile" : "ingress_lossy_profile" - }{% if not loop.last %},{% endif %} - -{% endfor %} -{% endif %} -{% if port_names_inactive|length > 0 %} -{%- for port in port_names_inactive.split(',') %} - {%- if loop.first -%},{%- endif -%} -{% if dynamic_mode is defined %} - "{{ port }}|3-4": { - "profile" : "NULL" - }, -{% 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 %} - -{%- macro generate_pg_profiles(port_names_active, port_names_inactive) %} -{{ generate_pg_profiles_with_extra_lossless_pgs(port_names_active, "", port_names_inactive) }} -{%- endmacro %} 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 00000000000..c01aebb7ae1 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C224O8/buffers_defaults_objects.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers_defaults_objects.j2 \ No newline at end of file From a3ef6606c6c77a516db069a0cc7616e5e338d03a Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Thu, 19 Dec 2024 09:12:47 +0200 Subject: [PATCH 09/17] Remove FEC RS from SN5610N SKUs port_config.ini --- .../Mellanox-SN5610N-C224O8/port_config.ini | 466 ++++++++-------- .../Mellanox-SN5610N-C256S2/port_config.ini | 518 +++++++++--------- 2 files changed, 492 insertions(+), 492 deletions(-) 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 index 070552d8f02..95a455f1dc6 100644 --- 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 @@ -16,236 +16,236 @@ ## limitations under the License. ## -# name lanes alias index speed fec autoneg subport -Ethernet0 0 etp1a 1 100000 rs off 1 -Ethernet1 1 etp1b 1 100000 rs off 2 -Ethernet2 2 etp1c 1 100000 rs off 3 -Ethernet3 3 etp1d 1 100000 rs off 4 -Ethernet4 4 etp1e 1 100000 rs off 5 -Ethernet5 5 etp1f 1 100000 rs off 6 -Ethernet6 6 etp1g 1 100000 rs off 7 -Ethernet7 7 etp1h 1 100000 rs off 8 -Ethernet16 16 etp3a 3 100000 rs off 1 -Ethernet17 17 etp3b 3 100000 rs off 2 -Ethernet18 18 etp3c 3 100000 rs off 3 -Ethernet19 19 etp3d 3 100000 rs off 4 -Ethernet20 20 etp3e 3 100000 rs off 5 -Ethernet21 21 etp3f 3 100000 rs off 6 -Ethernet22 22 etp3g 3 100000 rs off 7 -Ethernet23 23 etp3h 3 100000 rs off 8 -Ethernet32 32 etp5a 5 100000 rs off 1 -Ethernet33 33 etp5b 5 100000 rs off 2 -Ethernet34 34 etp5c 5 100000 rs off 3 -Ethernet35 35 etp5d 5 100000 rs off 4 -Ethernet36 36 etp5e 5 100000 rs off 5 -Ethernet37 37 etp5f 5 100000 rs off 6 -Ethernet38 38 etp5g 5 100000 rs off 7 -Ethernet39 39 etp5h 5 100000 rs off 8 -Ethernet48 48 etp7a 7 100000 rs off 1 -Ethernet49 49 etp7b 7 100000 rs off 2 -Ethernet50 50 etp7c 7 100000 rs off 3 -Ethernet51 51 etp7d 7 100000 rs off 4 -Ethernet52 52 etp7e 7 100000 rs off 5 -Ethernet53 53 etp7f 7 100000 rs off 6 -Ethernet54 54 etp7g 7 100000 rs off 7 -Ethernet55 55 etp7h 7 100000 rs off 8 -Ethernet64 64 etp9a 9 100000 rs off 1 -Ethernet65 65 etp9b 9 100000 rs off 2 -Ethernet66 66 etp9c 9 100000 rs off 3 -Ethernet67 67 etp9d 9 100000 rs off 4 -Ethernet68 68 etp9e 9 100000 rs off 5 -Ethernet69 69 etp9f 9 100000 rs off 6 -Ethernet70 70 etp9g 9 100000 rs off 7 -Ethernet71 71 etp9h 9 100000 rs off 8 -Ethernet80 80 etp11a 11 100000 rs off 1 -Ethernet81 81 etp11b 11 100000 rs off 2 -Ethernet82 82 etp11c 11 100000 rs off 3 -Ethernet83 83 etp11d 11 100000 rs off 4 -Ethernet84 84 etp11e 11 100000 rs off 5 -Ethernet85 85 etp11f 11 100000 rs off 6 -Ethernet86 86 etp11g 11 100000 rs off 7 -Ethernet87 87 etp11h 11 100000 rs off 8 -Ethernet96 96,97,98,99 etp13a 13 400000 rs off 1 -Ethernet100 100,101,102,103 etp13b 13 400000 rs off 2 -Ethernet112 112 etp15a 15 100000 rs off 1 -Ethernet113 113 etp15b 15 100000 rs off 2 -Ethernet114 114 etp15c 15 100000 rs off 3 -Ethernet115 115 etp15d 15 100000 rs off 4 -Ethernet116 116 etp15e 15 100000 rs off 5 -Ethernet117 117 etp15f 15 100000 rs off 6 -Ethernet118 118 etp15g 15 100000 rs off 7 -Ethernet119 119 etp15h 15 100000 rs off 8 -Ethernet128 128,129,130,131 etp17a 17 400000 rs off 1 -Ethernet132 132,133,134,135 etp17b 17 400000 rs off 2 -Ethernet146 146 etp19c 19 100000 rs off 3 -Ethernet147 147 etp19d 19 100000 rs off 4 -Ethernet148 148 etp19e 19 100000 rs off 5 -Ethernet149 149 etp19f 19 100000 rs off 6 -Ethernet150 150 etp19g 19 100000 rs off 7 -Ethernet151 151 etp19h 19 100000 rs off 8 -Ethernet160 160 etp21a 21 100000 rs off 1 -Ethernet161 161 etp21b 21 100000 rs off 2 -Ethernet162 162 etp21c 21 100000 rs off 3 -Ethernet163 163 etp21d 21 100000 rs off 4 -Ethernet164 164 etp21e 21 100000 rs off 5 -Ethernet165 165 etp21f 21 100000 rs off 6 -Ethernet166 166 etp21g 21 100000 rs off 7 -Ethernet167 167 etp21h 21 100000 rs off 8 -Ethernet176 176 etp23a 23 100000 rs off 1 -Ethernet177 177 etp23b 23 100000 rs off 2 -Ethernet178 178 etp23c 23 100000 rs off 3 -Ethernet179 179 etp23d 23 100000 rs off 4 -Ethernet180 180 etp23e 23 100000 rs off 5 -Ethernet181 181 etp23f 23 100000 rs off 6 -Ethernet182 182 etp23g 23 100000 rs off 7 -Ethernet183 183 etp23h 23 100000 rs off 8 -Ethernet192 192 etp25a 25 100000 rs off 1 -Ethernet193 193 etp25b 25 100000 rs off 2 -Ethernet194 194 etp25c 25 100000 rs off 3 -Ethernet195 195 etp25d 25 100000 rs off 4 -Ethernet196 196 etp25e 25 100000 rs off 5 -Ethernet197 197 etp25f 25 100000 rs off 6 -Ethernet198 198 etp25g 25 100000 rs off 7 -Ethernet199 199 etp25h 25 100000 rs off 8 -Ethernet208 208 etp27a 27 100000 rs off 1 -Ethernet209 209 etp27b 27 100000 rs off 2 -Ethernet210 210 etp27c 27 100000 rs off 3 -Ethernet211 211 etp27d 27 100000 rs off 4 -Ethernet212 212 etp27e 27 100000 rs off 5 -Ethernet213 213 etp27f 27 100000 rs off 6 -Ethernet214 214 etp27g 27 100000 rs off 7 -Ethernet215 215 etp27h 27 100000 rs off 8 -Ethernet224 224 etp29a 29 100000 rs off 1 -Ethernet225 225 etp29b 29 100000 rs off 2 -Ethernet226 226 etp29c 29 100000 rs off 3 -Ethernet227 227 etp29d 29 100000 rs off 4 -Ethernet228 228 etp29e 29 100000 rs off 5 -Ethernet229 229 etp29f 29 100000 rs off 6 -Ethernet230 230 etp29g 29 100000 rs off 7 -Ethernet231 231 etp29h 29 100000 rs off 8 -Ethernet240 240 etp31a 31 100000 rs off 1 -Ethernet241 241 etp31b 31 100000 rs off 2 -Ethernet242 242 etp31c 31 100000 rs off 3 -Ethernet243 243 etp31d 31 100000 rs off 4 -Ethernet244 244 etp31e 31 100000 rs off 5 -Ethernet245 245 etp31f 31 100000 rs off 6 -Ethernet246 246 etp31g 31 100000 rs off 7 -Ethernet247 247 etp31h 31 100000 rs off 8 -Ethernet256 256 etp33a 33 100000 rs off 1 -Ethernet257 257 etp33b 33 100000 rs off 2 -Ethernet258 258 etp33c 33 100000 rs off 3 -Ethernet259 259 etp33d 33 100000 rs off 4 -Ethernet260 260 etp33e 33 100000 rs off 5 -Ethernet261 261 etp33f 33 100000 rs off 6 -Ethernet262 262 etp33g 33 100000 rs off 7 -Ethernet263 263 etp33h 33 100000 rs off 8 -Ethernet272 272 etp35a 35 100000 rs off 1 -Ethernet273 273 etp35b 35 100000 rs off 2 -Ethernet274 274 etp35c 35 100000 rs off 3 -Ethernet275 275 etp35d 35 100000 rs off 4 -Ethernet276 276 etp35e 35 100000 rs off 5 -Ethernet277 277 etp35f 35 100000 rs off 6 -Ethernet278 278 etp35g 35 100000 rs off 7 -Ethernet279 279 etp35h 35 100000 rs off 8 -Ethernet288 288 etp37a 37 100000 rs off 1 -Ethernet289 289 etp37b 37 100000 rs off 2 -Ethernet290 290 etp37c 37 100000 rs off 3 -Ethernet291 291 etp37d 37 100000 rs off 4 -Ethernet292 292 etp37e 37 100000 rs off 5 -Ethernet293 293 etp37f 37 100000 rs off 6 -Ethernet294 294 etp37g 37 100000 rs off 7 -Ethernet295 295 etp37h 37 100000 rs off 8 -Ethernet304 304 etp39a 39 100000 rs off 1 -Ethernet305 305 etp39b 39 100000 rs off 2 -Ethernet306 306 etp39c 39 100000 rs off 3 -Ethernet307 307 etp39d 39 100000 rs off 4 -Ethernet308 308 etp39e 39 100000 rs off 5 -Ethernet309 309 etp39f 39 100000 rs off 6 -Ethernet310 310 etp39g 39 100000 rs off 7 -Ethernet311 311 etp39h 39 100000 rs off 8 -Ethernet320 320 etp41a 41 100000 rs off 1 -Ethernet321 321 etp41b 41 100000 rs off 2 -Ethernet322 322 etp41c 41 100000 rs off 3 -Ethernet323 323 etp41d 41 100000 rs off 4 -Ethernet324 324 etp41e 41 100000 rs off 5 -Ethernet325 325 etp41f 41 100000 rs off 6 -Ethernet326 326 etp41g 41 100000 rs off 7 -Ethernet327 327 etp41h 41 100000 rs off 8 -Ethernet336 336 etp43a 43 100000 rs off 1 -Ethernet337 337 etp43b 43 100000 rs off 2 -Ethernet338 338 etp43c 43 100000 rs off 3 -Ethernet339 339 etp43d 43 100000 rs off 4 -Ethernet340 340 etp43e 43 100000 rs off 5 -Ethernet341 341 etp43f 43 100000 rs off 6 -Ethernet342 342 etp43g 43 100000 rs off 7 -Ethernet343 343 etp43h 43 100000 rs off 8 -Ethernet352 352,353,354,355 etp45a 45 400000 rs off 1 -Ethernet356 356,357,358,359 etp45b 45 400000 rs off 2 -Ethernet368 368 etp47a 47 100000 rs off 1 -Ethernet369 369 etp47b 47 100000 rs off 2 -Ethernet370 370 etp47c 47 100000 rs off 3 -Ethernet371 371 etp47d 47 100000 rs off 4 -Ethernet372 372 etp47e 47 100000 rs off 5 -Ethernet373 373 etp47f 47 100000 rs off 6 -Ethernet374 374 etp47g 47 100000 rs off 7 -Ethernet375 375 etp47h 47 100000 rs off 8 -Ethernet384 384,385,386,387 etp49a 49 400000 rs off 1 -Ethernet388 388,389,390,391 etp49b 49 400000 rs off 2 -Ethernet400 400 etp51a 51 100000 rs off 1 -Ethernet401 401 etp51b 51 100000 rs off 2 -Ethernet402 402 etp51c 51 100000 rs off 3 -Ethernet403 403 etp51d 51 100000 rs off 4 -Ethernet404 404 etp51e 51 100000 rs off 5 -Ethernet405 405 etp51f 51 100000 rs off 6 -Ethernet406 406 etp51g 51 100000 rs off 7 -Ethernet407 407 etp51h 51 100000 rs off 8 -Ethernet416 416 etp53a 53 100000 rs off 1 -Ethernet417 417 etp53b 53 100000 rs off 2 -Ethernet418 418 etp53c 53 100000 rs off 3 -Ethernet419 419 etp53d 53 100000 rs off 4 -Ethernet420 420 etp53e 53 100000 rs off 5 -Ethernet421 421 etp53f 53 100000 rs off 6 -Ethernet422 422 etp53g 53 100000 rs off 7 -Ethernet423 423 etp53h 53 100000 rs off 8 -Ethernet432 432 etp55a 55 100000 rs off 1 -Ethernet433 433 etp55b 55 100000 rs off 2 -Ethernet434 434 etp55c 55 100000 rs off 3 -Ethernet435 435 etp55d 55 100000 rs off 4 -Ethernet436 436 etp55e 55 100000 rs off 5 -Ethernet437 437 etp55f 55 100000 rs off 6 -Ethernet438 438 etp55g 55 100000 rs off 7 -Ethernet439 439 etp55h 55 100000 rs off 8 -Ethernet448 448 etp57a 57 100000 rs off 1 -Ethernet449 449 etp57b 57 100000 rs off 2 -Ethernet450 450 etp57c 57 100000 rs off 3 -Ethernet451 451 etp57d 57 100000 rs off 4 -Ethernet452 452 etp57e 57 100000 rs off 5 -Ethernet453 453 etp57f 57 100000 rs off 6 -Ethernet454 454 etp57g 57 100000 rs off 7 -Ethernet455 455 etp57h 57 100000 rs off 8 -Ethernet464 464 etp59a 59 100000 rs off 1 -Ethernet465 465 etp59b 59 100000 rs off 2 -Ethernet466 466 etp59c 59 100000 rs off 3 -Ethernet467 467 etp59d 59 100000 rs off 4 -Ethernet468 468 etp59e 59 100000 rs off 5 -Ethernet469 469 etp59f 59 100000 rs off 6 -Ethernet470 470 etp59g 59 100000 rs off 7 -Ethernet471 471 etp59h 59 100000 rs off 8 -Ethernet480 480 etp61a 61 100000 rs off 1 -Ethernet481 481 etp61b 61 100000 rs off 2 -Ethernet482 482 etp61c 61 100000 rs off 3 -Ethernet483 483 etp61d 61 100000 rs off 4 -Ethernet484 484 etp61e 61 100000 rs off 5 -Ethernet485 485 etp61f 61 100000 rs off 6 -Ethernet486 486 etp61g 61 100000 rs off 7 -Ethernet487 487 etp61h 61 100000 rs off 8 -Ethernet496 496 etp63a 63 100000 rs off 1 -Ethernet497 497 etp63b 63 100000 rs off 2 -Ethernet498 498 etp63c 63 100000 rs off 3 -Ethernet499 499 etp63d 63 100000 rs off 4 -Ethernet500 500 etp63e 63 100000 rs off 5 -Ethernet501 501 etp63f 63 100000 rs off 6 -Ethernet502 502 etp63g 63 100000 rs off 7 -Ethernet503 503 etp63h 63 100000 rs off 8 -Ethernet512 512 etp65 65 10000 rs -Ethernet520 520 etp66 66 10000 rs +# 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 +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-C256S2/port_config.ini b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/port_config.ini index a843e752857..de5ac2fee31 100644 --- 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 @@ -16,262 +16,262 @@ ## limitations under the License. ## -# name lanes alias index speed fec autoneg subport -Ethernet0 0 etp1a 1 100000 rs off 1 -Ethernet1 1 etp1b 1 100000 rs off 2 -Ethernet2 2 etp1c 1 100000 rs off 3 -Ethernet3 3 etp1d 1 100000 rs off 4 -Ethernet4 4 etp1e 1 100000 rs off 5 -Ethernet5 5 etp1f 1 100000 rs off 6 -Ethernet6 6 etp1g 1 100000 rs off 7 -Ethernet7 7 etp1h 1 100000 rs off 8 -Ethernet16 16 etp3a 3 100000 rs off 1 -Ethernet17 17 etp3b 3 100000 rs off 2 -Ethernet18 18 etp3c 3 100000 rs off 3 -Ethernet19 19 etp3d 3 100000 rs off 4 -Ethernet20 20 etp3e 3 100000 rs off 5 -Ethernet21 21 etp3f 3 100000 rs off 6 -Ethernet22 22 etp3g 3 100000 rs off 7 -Ethernet23 23 etp3h 3 100000 rs off 8 -Ethernet32 32 etp5a 5 100000 rs off 1 -Ethernet33 33 etp5b 5 100000 rs off 2 -Ethernet34 34 etp5c 5 100000 rs off 3 -Ethernet35 35 etp5d 5 100000 rs off 4 -Ethernet36 36 etp5e 5 100000 rs off 5 -Ethernet37 37 etp5f 5 100000 rs off 6 -Ethernet38 38 etp5g 5 100000 rs off 7 -Ethernet39 39 etp5h 5 100000 rs off 8 -Ethernet48 48 etp7a 7 100000 rs off 1 -Ethernet49 49 etp7b 7 100000 rs off 2 -Ethernet50 50 etp7c 7 100000 rs off 3 -Ethernet51 51 etp7d 7 100000 rs off 4 -Ethernet52 52 etp7e 7 100000 rs off 5 -Ethernet53 53 etp7f 7 100000 rs off 6 -Ethernet54 54 etp7g 7 100000 rs off 7 -Ethernet55 55 etp7h 7 100000 rs off 8 -Ethernet64 64 etp9a 9 100000 rs off 1 -Ethernet65 65 etp9b 9 100000 rs off 2 -Ethernet66 66 etp9c 9 100000 rs off 3 -Ethernet67 67 etp9d 9 100000 rs off 4 -Ethernet68 68 etp9e 9 100000 rs off 5 -Ethernet69 69 etp9f 9 100000 rs off 6 -Ethernet70 70 etp9g 9 100000 rs off 7 -Ethernet71 71 etp9h 9 100000 rs off 8 -Ethernet80 80 etp11a 11 100000 rs off 1 -Ethernet81 81 etp11b 11 100000 rs off 2 -Ethernet82 82 etp11c 11 100000 rs off 3 -Ethernet83 83 etp11d 11 100000 rs off 4 -Ethernet84 84 etp11e 11 100000 rs off 5 -Ethernet85 85 etp11f 11 100000 rs off 6 -Ethernet86 86 etp11g 11 100000 rs off 7 -Ethernet87 87 etp11h 11 100000 rs off 8 -Ethernet96 96 etp13a 13 100000 rs off 1 -Ethernet97 97 etp13b 13 100000 rs off 2 -Ethernet98 98 etp13c 13 100000 rs off 3 -Ethernet99 99 etp13d 13 100000 rs off 4 -Ethernet100 100 etp13e 13 100000 rs off 5 -Ethernet101 101 etp13f 13 100000 rs off 6 -Ethernet102 102 etp13g 13 100000 rs off 7 -Ethernet103 103 etp13h 13 100000 rs off 8 -Ethernet112 112 etp15a 15 100000 rs off 1 -Ethernet113 113 etp15b 15 100000 rs off 2 -Ethernet114 114 etp15c 15 100000 rs off 3 -Ethernet115 115 etp15d 15 100000 rs off 4 -Ethernet116 116 etp15e 15 100000 rs off 5 -Ethernet117 117 etp15f 15 100000 rs off 6 -Ethernet118 118 etp15g 15 100000 rs off 7 -Ethernet119 119 etp15h 15 100000 rs off 8 -Ethernet128 128 etp17a 17 100000 rs off 1 -Ethernet129 129 etp17b 17 100000 rs off 2 -Ethernet130 130 etp17c 17 100000 rs off 3 -Ethernet131 131 etp17d 17 100000 rs off 4 -Ethernet132 132 etp17e 17 100000 rs off 5 -Ethernet133 133 etp17f 17 100000 rs off 6 -Ethernet134 134 etp17g 17 100000 rs off 7 -Ethernet135 135 etp17h 17 100000 rs off 8 -Ethernet144 144 etp19a 19 100000 rs off 1 -Ethernet145 145 etp19b 19 100000 rs off 2 -Ethernet146 146 etp19c 19 100000 rs off 3 -Ethernet147 147 etp19d 19 100000 rs off 4 -Ethernet148 148 etp19e 19 100000 rs off 5 -Ethernet149 149 etp19f 19 100000 rs off 6 -Ethernet150 150 etp19g 19 100000 rs off 7 -Ethernet151 151 etp19h 19 100000 rs off 8 -Ethernet160 160 etp21a 21 100000 rs off 1 -Ethernet161 161 etp21b 21 100000 rs off 2 -Ethernet162 162 etp21c 21 100000 rs off 3 -Ethernet163 163 etp21d 21 100000 rs off 4 -Ethernet164 164 etp21e 21 100000 rs off 5 -Ethernet165 165 etp21f 21 100000 rs off 6 -Ethernet166 166 etp21g 21 100000 rs off 7 -Ethernet167 167 etp21h 21 100000 rs off 8 -Ethernet176 176 etp23a 23 100000 rs off 1 -Ethernet177 177 etp23b 23 100000 rs off 2 -Ethernet178 178 etp23c 23 100000 rs off 3 -Ethernet179 179 etp23d 23 100000 rs off 4 -Ethernet180 180 etp23e 23 100000 rs off 5 -Ethernet181 181 etp23f 23 100000 rs off 6 -Ethernet182 182 etp23g 23 100000 rs off 7 -Ethernet183 183 etp23h 23 100000 rs off 8 -Ethernet192 192 etp25a 25 100000 rs off 1 -Ethernet193 193 etp25b 25 100000 rs off 2 -Ethernet194 194 etp25c 25 100000 rs off 3 -Ethernet195 195 etp25d 25 100000 rs off 4 -Ethernet196 196 etp25e 25 100000 rs off 5 -Ethernet197 197 etp25f 25 100000 rs off 6 -Ethernet198 198 etp25g 25 100000 rs off 7 -Ethernet199 199 etp25h 25 100000 rs off 8 -Ethernet208 208 etp27a 27 100000 rs off 1 -Ethernet209 209 etp27b 27 100000 rs off 2 -Ethernet210 210 etp27c 27 100000 rs off 3 -Ethernet211 211 etp27d 27 100000 rs off 4 -Ethernet212 212 etp27e 27 100000 rs off 5 -Ethernet213 213 etp27f 27 100000 rs off 6 -Ethernet214 214 etp27g 27 100000 rs off 7 -Ethernet215 215 etp27h 27 100000 rs off 8 -Ethernet224 224 etp29a 29 100000 rs off 1 -Ethernet225 225 etp29b 29 100000 rs off 2 -Ethernet226 226 etp29c 29 100000 rs off 3 -Ethernet227 227 etp29d 29 100000 rs off 4 -Ethernet228 228 etp29e 29 100000 rs off 5 -Ethernet229 229 etp29f 29 100000 rs off 6 -Ethernet230 230 etp29g 29 100000 rs off 7 -Ethernet231 231 etp29h 29 100000 rs off 8 -Ethernet240 240 etp31a 31 100000 rs off 1 -Ethernet241 241 etp31b 31 100000 rs off 2 -Ethernet242 242 etp31c 31 100000 rs off 3 -Ethernet243 243 etp31d 31 100000 rs off 4 -Ethernet244 244 etp31e 31 100000 rs off 5 -Ethernet245 245 etp31f 31 100000 rs off 6 -Ethernet246 246 etp31g 31 100000 rs off 7 -Ethernet247 247 etp31h 31 100000 rs off 8 -Ethernet256 256 etp33a 33 100000 rs off 1 -Ethernet257 257 etp33b 33 100000 rs off 2 -Ethernet258 258 etp33c 33 100000 rs off 3 -Ethernet259 259 etp33d 33 100000 rs off 4 -Ethernet260 260 etp33e 33 100000 rs off 5 -Ethernet261 261 etp33f 33 100000 rs off 6 -Ethernet262 262 etp33g 33 100000 rs off 7 -Ethernet263 263 etp33h 33 100000 rs off 8 -Ethernet272 272 etp35a 35 100000 rs off 1 -Ethernet273 273 etp35b 35 100000 rs off 2 -Ethernet274 274 etp35c 35 100000 rs off 3 -Ethernet275 275 etp35d 35 100000 rs off 4 -Ethernet276 276 etp35e 35 100000 rs off 5 -Ethernet277 277 etp35f 35 100000 rs off 6 -Ethernet278 278 etp35g 35 100000 rs off 7 -Ethernet279 279 etp35h 35 100000 rs off 8 -Ethernet288 288 etp37a 37 100000 rs off 1 -Ethernet289 289 etp37b 37 100000 rs off 2 -Ethernet290 290 etp37c 37 100000 rs off 3 -Ethernet291 291 etp37d 37 100000 rs off 4 -Ethernet292 292 etp37e 37 100000 rs off 5 -Ethernet293 293 etp37f 37 100000 rs off 6 -Ethernet294 294 etp37g 37 100000 rs off 7 -Ethernet295 295 etp37h 37 100000 rs off 8 -Ethernet304 304 etp39a 39 100000 rs off 1 -Ethernet305 305 etp39b 39 100000 rs off 2 -Ethernet306 306 etp39c 39 100000 rs off 3 -Ethernet307 307 etp39d 39 100000 rs off 4 -Ethernet308 308 etp39e 39 100000 rs off 5 -Ethernet309 309 etp39f 39 100000 rs off 6 -Ethernet310 310 etp39g 39 100000 rs off 7 -Ethernet311 311 etp39h 39 100000 rs off 8 -Ethernet320 320 etp41a 41 100000 rs off 1 -Ethernet321 321 etp41b 41 100000 rs off 2 -Ethernet322 322 etp41c 41 100000 rs off 3 -Ethernet323 323 etp41d 41 100000 rs off 4 -Ethernet324 324 etp41e 41 100000 rs off 5 -Ethernet325 325 etp41f 41 100000 rs off 6 -Ethernet326 326 etp41g 41 100000 rs off 7 -Ethernet327 327 etp41h 41 100000 rs off 8 -Ethernet336 336 etp43a 43 100000 rs off 1 -Ethernet337 337 etp43b 43 100000 rs off 2 -Ethernet338 338 etp43c 43 100000 rs off 3 -Ethernet339 339 etp43d 43 100000 rs off 4 -Ethernet340 340 etp43e 43 100000 rs off 5 -Ethernet341 341 etp43f 43 100000 rs off 6 -Ethernet342 342 etp43g 43 100000 rs off 7 -Ethernet343 343 etp43h 43 100000 rs off 8 -Ethernet352 352 etp45a 45 100000 rs off 1 -Ethernet353 353 etp45b 45 100000 rs off 2 -Ethernet354 354 etp45c 45 100000 rs off 3 -Ethernet355 355 etp45d 45 100000 rs off 4 -Ethernet356 356 etp45e 45 100000 rs off 5 -Ethernet357 357 etp45f 45 100000 rs off 6 -Ethernet358 358 etp45g 45 100000 rs off 7 -Ethernet359 359 etp45h 45 100000 rs off 8 -Ethernet368 368 etp47a 47 100000 rs off 1 -Ethernet369 369 etp47b 47 100000 rs off 2 -Ethernet370 370 etp47c 47 100000 rs off 3 -Ethernet371 371 etp47d 47 100000 rs off 4 -Ethernet372 372 etp47e 47 100000 rs off 5 -Ethernet373 373 etp47f 47 100000 rs off 6 -Ethernet374 374 etp47g 47 100000 rs off 7 -Ethernet375 375 etp47h 47 100000 rs off 8 -Ethernet384 384 etp49a 49 100000 rs off 1 -Ethernet385 385 etp49b 49 100000 rs off 2 -Ethernet386 386 etp49c 49 100000 rs off 3 -Ethernet387 387 etp49d 49 100000 rs off 4 -Ethernet388 388 etp49e 49 100000 rs off 5 -Ethernet389 389 etp49f 49 100000 rs off 6 -Ethernet390 390 etp49g 49 100000 rs off 7 -Ethernet391 391 etp49h 49 100000 rs off 8 -Ethernet400 400 etp51a 51 100000 rs off 1 -Ethernet401 401 etp51b 51 100000 rs off 2 -Ethernet402 402 etp51c 51 100000 rs off 3 -Ethernet403 403 etp51d 51 100000 rs off 4 -Ethernet404 404 etp51e 51 100000 rs off 5 -Ethernet405 405 etp51f 51 100000 rs off 6 -Ethernet406 406 etp51g 51 100000 rs off 7 -Ethernet407 407 etp51h 51 100000 rs off 8 -Ethernet416 416 etp53a 53 100000 rs off 1 -Ethernet417 417 etp53b 53 100000 rs off 2 -Ethernet418 418 etp53c 53 100000 rs off 3 -Ethernet419 419 etp53d 53 100000 rs off 4 -Ethernet420 420 etp53e 53 100000 rs off 5 -Ethernet421 421 etp53f 53 100000 rs off 6 -Ethernet422 422 etp53g 53 100000 rs off 7 -Ethernet423 423 etp53h 53 100000 rs off 8 -Ethernet432 432 etp55a 55 100000 rs off 1 -Ethernet433 433 etp55b 55 100000 rs off 2 -Ethernet434 434 etp55c 55 100000 rs off 3 -Ethernet435 435 etp55d 55 100000 rs off 4 -Ethernet436 436 etp55e 55 100000 rs off 5 -Ethernet437 437 etp55f 55 100000 rs off 6 -Ethernet438 438 etp55g 55 100000 rs off 7 -Ethernet439 439 etp55h 55 100000 rs off 8 -Ethernet448 448 etp57a 57 100000 rs off 1 -Ethernet449 449 etp57b 57 100000 rs off 2 -Ethernet450 450 etp57c 57 100000 rs off 3 -Ethernet451 451 etp57d 57 100000 rs off 4 -Ethernet452 452 etp57e 57 100000 rs off 5 -Ethernet453 453 etp57f 57 100000 rs off 6 -Ethernet454 454 etp57g 57 100000 rs off 7 -Ethernet455 455 etp57h 57 100000 rs off 8 -Ethernet464 464 etp59a 59 100000 rs off 1 -Ethernet465 465 etp59b 59 100000 rs off 2 -Ethernet466 466 etp59c 59 100000 rs off 3 -Ethernet467 467 etp59d 59 100000 rs off 4 -Ethernet468 468 etp59e 59 100000 rs off 5 -Ethernet469 469 etp59f 59 100000 rs off 6 -Ethernet470 470 etp59g 59 100000 rs off 7 -Ethernet471 471 etp59h 59 100000 rs off 8 -Ethernet480 480 etp61a 61 100000 rs off 1 -Ethernet481 481 etp61b 61 100000 rs off 2 -Ethernet482 482 etp61c 61 100000 rs off 3 -Ethernet483 483 etp61d 61 100000 rs off 4 -Ethernet484 484 etp61e 61 100000 rs off 5 -Ethernet485 485 etp61f 61 100000 rs off 6 -Ethernet486 486 etp61g 61 100000 rs off 7 -Ethernet487 487 etp61h 61 100000 rs off 8 -Ethernet496 496 etp63a 63 100000 rs off 1 -Ethernet497 497 etp63b 63 100000 rs off 2 -Ethernet498 498 etp63c 63 100000 rs off 3 -Ethernet499 499 etp63d 63 100000 rs off 4 -Ethernet500 500 etp63e 63 100000 rs off 5 -Ethernet501 501 etp63f 63 100000 rs off 6 -Ethernet502 502 etp63g 63 100000 rs off 7 -Ethernet503 503 etp63h 63 100000 rs off 8 -Ethernet512 512 etp65 65 10000 rs -Ethernet520 520 etp66 66 10000 rs +# 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 From 04c42de15cc9868b571b4d89dc412d22fb6113d9 Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Tue, 24 Dec 2024 15:22:49 +0200 Subject: [PATCH 10/17] Set default IMA algorithm to sha384 on SN5610N --- device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf b/device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf index 0606703b1e0..a6e41e7a871 100644 --- a/device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/installer.conf @@ -1 +1 @@ -ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq tpm_tis.interrupts=0 nosgx amd_iommu=off cpufreq.default_governor=performance" +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq tpm_tis.interrupts=0 nosgx ima_hash=sha384 amd_iommu=off cpufreq.default_governor=performance" From b2638d14c6095ff18f83c1a6b18651b0e9e2f68b Mon Sep 17 00:00:00 2001 From: Stephen Sun <5379172+stephenxs@users.noreply.github.com> Date: Wed, 25 Dec 2024 06:30:02 +0800 Subject: [PATCH 11/17] Support DSCP mapping on SN5610 SKU (#44) Support new DSCP mapping on SN5610 SKUs Signed-off-by: Stephen Sun --- .../Mellanox-SN5610N-C224O8/qos.json.j2 | 2 +- .../Mellanox-SN5610N-C256S2/qos.json.j2 | 170 +++++++++++++++++- 2 files changed, 170 insertions(+), 2 deletions(-) mode change 120000 => 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 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 index eccf286dc87..c7fe6816246 120000 --- 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 @@ -1 +1 @@ -../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2 \ No newline at end of file +../Mellanox-SN5610N-C256S2/qos.json.j2 \ No newline at end of file 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 deleted file mode 120000 index eccf286dc87..00000000000 --- a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 +++ /dev/null @@ -1 +0,0 @@ -../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2 \ No newline at end of file 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 00000000000..e6966dba3cd --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 @@ -0,0 +1,169 @@ +{# + 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. +#} + +{%- macro generate_dscp_to_tc_map_per_sku() -%} + "DSCP_TO_TC_MAP": { + "AZURE": { + "0" : "0", + "1" : "1", + "2" : "2", + "3" : "3", + "4" : "4", + "5" : "1", + "6" : "6", + "7" : "1", + "8" : "0", + "9" : "1", + "10": "1", + "11": "1", + "12": "1", + "13": "1", + "14": "1", + "15": "1", + "16": "1", + "17": "1", + "18": "1", + "19": "1", + "20": "1", + "21": "1", + "22": "1", + "23": "1", + "24": "1", + "25": "1", + "26": "1", + "27": "1", + "28": "1", + "29": "1", + "30": "1", + "31": "1", + "32": "1", + "33": "1", + "34": "1", + "35": "1", + "36": "1", + "37": "1", + "38": "1", + "39": "1", + "40": "1", + "41": "1", + "42": "1", + "43": "1", + "44": "1", + "45": "5", + "46": "1", + "47": "1", + "48": "7", + "49": "1", + "50": "1", + "51": "1", + "52": "1", + "53": "1", + "54": "1", + "55": "1", + "56": "1", + "57": "1", + "58": "1", + "59": "1", + "60": "1", + "61": "1", + "62": "1", + "63": "1" + } + }, +{%- 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.0": { + "type" : "DWRR", + "weight": "1" + }, + "scheduler.1": { + "type" : "DWRR", + "weight": "5" + }, + "scheduler.2": { + "type" : "DWRR", + "weight": "90" + } + }, +{%- endmacro -%} + +{%- macro generate_single_queue_per_sku(port) -%} + "{{ port }}|0": { + "scheduler": "scheduler.0" + }, + "{{ port }}|1": { + "scheduler": "scheduler.2" + }, + "{{ port }}|2": { + "scheduler": "scheduler.0" + }, + "{{ port }}|3": { + "scheduler": "scheduler.0" + }, + "{{ port }}|4": { + "scheduler": "scheduler.0" + }, + "{{ port }}|5": { + "scheduler": "scheduler.1" + }, + "{{ port }}|6": { + "scheduler": "scheduler.0" + } +{%- 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' %} From cc0302225ba48993f26b088fc98e5b3f4f6d1d3a Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Wed, 25 Dec 2024 11:16:40 +0200 Subject: [PATCH 12/17] Update SN5610N buffers calculation to support 0 cable length --- .../buffers_defaults_t0.j2 | 15 ++++++++++----- .../buffers_defaults_t1.j2 | 18 ++++++++---------- .../buffers_defaults_t0.j2 | 14 ++++++++++---- .../buffers_defaults_t1.j2 | 18 ++++++++---------- 4 files changed, 36 insertions(+), 29 deletions(-) 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 index 2868be57193..e4ece1cdbf0 100644 --- 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 @@ -15,12 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. #} - -{% set default_cable = '40m' %} -{% set ingress_lossless_pool_size = '144188416' %} -{% set ingress_lossless_pool_xoff = '1024' %} +{% 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 = '144188416' %} +{% set egress_lossy_pool_size = '144189440' %} {% import 'buffers_defaults_objects.j2' as defs with context %} 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 index 67af952971d..e4ece1cdbf0 100644 --- 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 @@ -15,19 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. #} - -{% set default_cable = '250m' %} -{% set ingress_lossless_pool_size = '144188416' %} -{% set ingress_lossless_pool_xoff = '1024' %} -{% set egress_lossless_pool_size = '158229504' %} -{% set egress_lossy_pool_size = '144188416' %} - +{% set default_cable = '0m' %} {%-set ports2cable = { - 'torrouter_server' : '40m', - 'leafrouter_torrouter' : '250m', - 'spinerouter_leafrouter' : '1000m' + '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 %} 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 index 23e01a71d6a..3a4a3fd94a3 100644 --- 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 @@ -15,11 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. #} -{% set default_cable = '40m' %} -{% set ingress_lossless_pool_size = '142644224' %} -{% set ingress_lossless_pool_xoff = '1024' %} +{% 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 = '142644224' %} +{% set egress_lossy_pool_size = '142645248' %} {% import 'buffers_defaults_objects.j2' as defs with context %} 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 index 89eff7ca6ce..3a4a3fd94a3 100644 --- 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 @@ -15,19 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. #} - -{% set default_cable = '250m' %} -{% set ingress_lossless_pool_size = '142644224' %} -{% set ingress_lossless_pool_xoff = '1024' %} -{% set egress_lossless_pool_size = '158229504' %} -{% set egress_lossy_pool_size = '142644224' %} - +{% set default_cable = '0m' %} {%-set ports2cable = { - 'torrouter_server' : '40m', - 'leafrouter_torrouter' : '250m', - 'spinerouter_leafrouter' : '1000m' + '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 %} From d6e406c2880dd3ec593c6af236ef3f58ef68dd94 Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Tue, 31 Dec 2024 08:41:01 +0200 Subject: [PATCH 13/17] Update pcie.yaml --- .../x86_64-nvidia_sn5610n-r0/pcie.yaml | 144 +----------------- 1 file changed, 6 insertions(+), 138 deletions(-) diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml b/device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml index f0c488466d6..75bf61b923b 100644 --- a/device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/pcie.yaml @@ -146,54 +146,6 @@ id: '1467' name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7' -- bus: '00' - dev: '19' - 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: '19' - 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: '19' - 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: '19' - 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: '19' - 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: '19' - 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: '19' - 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: '19' - 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' @@ -234,98 +186,14 @@ 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' -- bus: '40' - dev: '00' - fn: '0' - id: '1450' - name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) - Root Complex' -- bus: '40' - dev: '00' - fn: '2' - id: '1451' - name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O - Memory Management Unit' -- bus: '40' - dev: '01' - fn: '0' - id: '1452' - name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) - PCIe Dummy Host Bridge' -- bus: '40' - dev: '02' - fn: '0' - id: '1452' - name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) - PCIe Dummy Host Bridge' -- bus: '40' - dev: '03' - fn: '0' - id: '1452' - name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) - PCIe Dummy Host Bridge' -- bus: '40' - dev: '04' - fn: '0' - id: '1452' - name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) - PCIe Dummy Host Bridge' -- bus: '40' - dev: '07' - fn: '0' - id: '1452' - name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) - PCIe Dummy Host Bridge' -- bus: '40' - 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: '40' - dev: 08 - fn: '0' - id: '1452' - name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) - PCIe Dummy Host Bridge' -- bus: '40' - 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: '41' - dev: '00' - fn: '0' - id: 145a - name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] - Zeppelin/Raven/Raven2 PCIe Dummy Function' -- bus: '41' - 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: '41' - dev: '00' - fn: '3' - id: 145f - name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 xHCI - Compliant Host Controller' -- bus: '42' - dev: '00' - fn: '0' - id: '1455' - name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] - Zeppelin/Renoir PCIe Dummy Function' -- bus: '42' - dev: '00' - fn: '1' - id: '1468' - name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic - Coprocessor NTBCCP' From f1a96ced35311c6dd43ae72f99d0e7a030f6cf2d Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Sun, 5 Jan 2025 15:06:47 +0200 Subject: [PATCH 14/17] Type fix in SN5610N platform.json --- .../x86_64-nvidia_sn5610n-r0/platform.json | 128 +++++++++--------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json index 1e73f3a7e90..9a84e64c73a 100644 --- a/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json @@ -687,7 +687,7 @@ "interfaces": { "Ethernet0": { "index": "1,1,1,1,1,1,1,1", - "lanes": "0,1,2,3,4,5,6,7,", + "lanes": "0,1,2,3,4,5,6,7", "breakout_modes": { "1x400G": ["etp1"], "2x400G[200G]": ["etp1a", "etp1b"], @@ -697,7 +697,7 @@ }, "Ethernet8": { "index": "2,2,2,2,2,2,2,2", - "lanes": "8,9,10,11,12,13,14,15,", + "lanes": "8,9,10,11,12,13,14,15", "breakout_modes": { "1x400G": ["etp2"], "2x400G[200G]": ["etp2a", "etp2b"], @@ -707,7 +707,7 @@ }, "Ethernet16": { "index": "3,3,3,3,3,3,3,3", - "lanes": "16,17,18,19,20,21,22,23,", + "lanes": "16,17,18,19,20,21,22,23", "breakout_modes": { "1x400G": ["etp3"], "2x400G[200G]": ["etp3a", "etp3b"], @@ -717,7 +717,7 @@ }, "Ethernet24": { "index": "4,4,4,4,4,4,4,4", - "lanes": "24,25,26,27,28,29,30,31,", + "lanes": "24,25,26,27,28,29,30,31", "breakout_modes": { "1x400G": ["etp4"], "2x400G[200G]": ["etp4a", "etp4b"], @@ -727,7 +727,7 @@ }, "Ethernet32": { "index": "5,5,5,5,5,5,5,5", - "lanes": "32,33,34,35,36,37,38,39,", + "lanes": "32,33,34,35,36,37,38,39", "breakout_modes": { "1x400G": ["etp5"], "2x400G[200G]": ["etp5a", "etp5b"], @@ -737,7 +737,7 @@ }, "Ethernet40": { "index": "6,6,6,6,6,6,6,6", - "lanes": "40,41,42,43,44,45,46,47,", + "lanes": "40,41,42,43,44,45,46,47", "breakout_modes": { "1x400G": ["etp6"], "2x400G[200G]": ["etp6a", "etp6b"], @@ -747,7 +747,7 @@ }, "Ethernet48": { "index": "7,7,7,7,7,7,7,7", - "lanes": "48,49,50,51,52,53,54,55,", + "lanes": "48,49,50,51,52,53,54,55", "breakout_modes": { "1x400G": ["etp7"], "2x400G[200G]": ["etp7a", "etp7b"], @@ -757,7 +757,7 @@ }, "Ethernet56": { "index": "8,8,8,8,8,8,8,8", - "lanes": "56,57,58,59,60,61,62,63,", + "lanes": "56,57,58,59,60,61,62,63", "breakout_modes": { "1x400G": ["etp8"], "2x400G[200G]": ["etp8a", "etp8b"], @@ -767,7 +767,7 @@ }, "Ethernet64": { "index": "9,9,9,9,9,9,9,9", - "lanes": "64,65,66,67,68,69,70,71,", + "lanes": "64,65,66,67,68,69,70,71", "breakout_modes": { "1x400G": ["etp9"], "2x400G[200G]": ["etp9a", "etp9b"], @@ -777,7 +777,7 @@ }, "Ethernet72": { "index": "10,10,10,10,10,10,10,10", - "lanes": "72,73,74,75,76,77,78,79,", + "lanes": "72,73,74,75,76,77,78,79", "breakout_modes": { "1x400G": ["etp10"], "2x400G[200G]": ["etp10a", "etp10b"], @@ -787,7 +787,7 @@ }, "Ethernet80": { "index": "11,11,11,11,11,11,11,11", - "lanes": "80,81,82,83,84,85,86,87,", + "lanes": "80,81,82,83,84,85,86,87", "breakout_modes": { "1x400G": ["etp11"], "2x400G[200G]": ["etp11a", "etp11b"], @@ -797,7 +797,7 @@ }, "Ethernet88": { "index": "12,12,12,12,12,12,12,12", - "lanes": "88,89,90,91,92,93,94,95,", + "lanes": "88,89,90,91,92,93,94,95", "breakout_modes": { "1x400G": ["etp12"], "2x400G[200G]": ["etp12a", "etp12b"], @@ -807,7 +807,7 @@ }, "Ethernet96": { "index": "13,13,13,13,13,13,13,13", - "lanes": "96,97,98,99,100,101,102,103,", + "lanes": "96,97,98,99,100,101,102,103", "breakout_modes": { "1x400G": ["etp13"], "2x400G[200G]": ["etp13a", "etp13b"], @@ -817,7 +817,7 @@ }, "Ethernet104": { "index": "14,14,14,14,14,14,14,14", - "lanes": "104,105,106,107,108,109,110,111,", + "lanes": "104,105,106,107,108,109,110,111", "breakout_modes": { "1x400G": ["etp14"], "2x400G[200G]": ["etp14a", "etp14b"], @@ -827,7 +827,7 @@ }, "Ethernet112": { "index": "15,15,15,15,15,15,15,15", - "lanes": "112,113,114,115,116,117,118,119,", + "lanes": "112,113,114,115,116,117,118,119", "breakout_modes": { "1x400G": ["etp15"], "2x400G[200G]": ["etp15a", "etp15b"], @@ -837,7 +837,7 @@ }, "Ethernet120": { "index": "16,16,16,16,16,16,16,16", - "lanes": "120,121,122,123,124,125,126,127,", + "lanes": "120,121,122,123,124,125,126,127", "breakout_modes": { "1x400G": ["etp16"], "2x400G[200G]": ["etp16a", "etp16b"], @@ -847,7 +847,7 @@ }, "Ethernet128": { "index": "17,17,17,17,17,17,17,17", - "lanes": "128,129,130,131,132,133,134,135,", + "lanes": "128,129,130,131,132,133,134,135", "breakout_modes": { "1x400G": ["etp17"], "2x400G[200G]": ["etp17a", "etp17b"], @@ -857,7 +857,7 @@ }, "Ethernet136": { "index": "18,18,18,18,18,18,18,18", - "lanes": "136,137,138,139,140,141,142,143,", + "lanes": "136,137,138,139,140,141,142,143", "breakout_modes": { "1x400G": ["etp18"], "2x400G[200G]": ["etp18a", "etp18b"], @@ -867,7 +867,7 @@ }, "Ethernet144": { "index": "19,19,19,19,19,19,19,19", - "lanes": "144,145,146,147,148,149,150,151,", + "lanes": "144,145,146,147,148,149,150,151", "breakout_modes": { "1x400G": ["etp19"], "2x400G[200G]": ["etp19a", "etp19b"], @@ -877,7 +877,7 @@ }, "Ethernet152": { "index": "20,20,20,20,20,20,20,20", - "lanes": "152,153,154,155,156,157,158,159,", + "lanes": "152,153,154,155,156,157,158,159", "breakout_modes": { "1x400G": ["etp20"], "2x400G[200G]": ["etp20a", "etp20b"], @@ -887,7 +887,7 @@ }, "Ethernet160": { "index": "21,21,21,21,21,21,21,21", - "lanes": "160,161,162,163,164,165,166,167,", + "lanes": "160,161,162,163,164,165,166,167", "breakout_modes": { "1x400G": ["etp21"], "2x400G[200G]": ["etp21a", "etp21b"], @@ -897,7 +897,7 @@ }, "Ethernet168": { "index": "22,22,22,22,22,22,22,22", - "lanes": "168,169,170,171,172,173,174,175,", + "lanes": "168,169,170,171,172,173,174,175", "breakout_modes": { "1x400G": ["etp22"], "2x400G[200G]": ["etp22a", "etp22b"], @@ -907,7 +907,7 @@ }, "Ethernet176": { "index": "23,23,23,23,23,23,23,23", - "lanes": "176,177,178,179,180,181,182,183,", + "lanes": "176,177,178,179,180,181,182,183", "breakout_modes": { "1x400G": ["etp23"], "2x400G[200G]": ["etp23a", "etp23b"], @@ -917,7 +917,7 @@ }, "Ethernet184": { "index": "24,24,24,24,24,24,24,24", - "lanes": "184,185,186,187,188,189,190,191,", + "lanes": "184,185,186,187,188,189,190,191", "breakout_modes": { "1x400G": ["etp24"], "2x400G[200G]": ["etp24a", "etp24b"], @@ -927,7 +927,7 @@ }, "Ethernet192": { "index": "25,25,25,25,25,25,25,25", - "lanes": "192,193,194,195,196,197,198,199,", + "lanes": "192,193,194,195,196,197,198,199", "breakout_modes": { "1x400G": ["etp25"], "2x400G[200G]": ["etp25a", "etp25b"], @@ -937,7 +937,7 @@ }, "Ethernet200": { "index": "26,26,26,26,26,26,26,26", - "lanes": "200,201,202,203,204,205,206,207,", + "lanes": "200,201,202,203,204,205,206,207", "breakout_modes": { "1x400G": ["etp26"], "2x400G[200G]": ["etp26a", "etp26b"], @@ -947,7 +947,7 @@ }, "Ethernet208": { "index": "27,27,27,27,27,27,27,27", - "lanes": "208,209,210,211,212,213,214,215,", + "lanes": "208,209,210,211,212,213,214,215", "breakout_modes": { "1x400G": ["etp27"], "2x400G[200G]": ["etp27a", "etp27b"], @@ -957,7 +957,7 @@ }, "Ethernet216": { "index": "28,28,28,28,28,28,28,28", - "lanes": "216,217,218,219,220,221,222,223,", + "lanes": "216,217,218,219,220,221,222,223", "breakout_modes": { "1x400G": ["etp28"], "2x400G[200G]": ["etp28a", "etp28b"], @@ -967,7 +967,7 @@ }, "Ethernet224": { "index": "29,29,29,29,29,29,29,29", - "lanes": "224,225,226,227,228,229,230,231,", + "lanes": "224,225,226,227,228,229,230,231", "breakout_modes": { "1x400G": ["etp29"], "2x400G[200G]": ["etp29a", "etp29b"], @@ -977,7 +977,7 @@ }, "Ethernet232": { "index": "30,30,30,30,30,30,30,30", - "lanes": "232,233,234,235,236,237,238,239,", + "lanes": "232,233,234,235,236,237,238,239", "breakout_modes": { "1x400G": ["etp30"], "2x400G[200G]": ["etp30a", "etp30b"], @@ -987,7 +987,7 @@ }, "Ethernet240": { "index": "31,31,31,31,31,31,31,31", - "lanes": "240,241,242,243,244,245,246,247,", + "lanes": "240,241,242,243,244,245,246,247", "breakout_modes": { "1x400G": ["etp31"], "2x400G[200G]": ["etp31a", "etp31b"], @@ -997,7 +997,7 @@ }, "Ethernet248": { "index": "32,32,32,32,32,32,32,32", - "lanes": "248,249,250,251,252,253,254,255,", + "lanes": "248,249,250,251,252,253,254,255", "breakout_modes": { "1x400G": ["etp32"], "2x400G[200G]": ["etp32a", "etp32b"], @@ -1007,7 +1007,7 @@ }, "Ethernet256": { "index": "33,33,33,33,33,33,33,33", - "lanes": "256,257,258,259,260,261,262,263,", + "lanes": "256,257,258,259,260,261,262,263", "breakout_modes": { "1x400G": ["etp33"], "2x400G[200G]": ["etp33a", "etp33b"], @@ -1017,7 +1017,7 @@ }, "Ethernet264": { "index": "34,34,34,34,34,34,34,34", - "lanes": "264,265,266,267,268,269,270,271,", + "lanes": "264,265,266,267,268,269,270,271", "breakout_modes": { "1x400G": ["etp34"], "2x400G[200G]": ["etp34a", "etp34b"], @@ -1027,7 +1027,7 @@ }, "Ethernet272": { "index": "35,35,35,35,35,35,35,35", - "lanes": "272,273,274,275,276,277,278,279,", + "lanes": "272,273,274,275,276,277,278,279", "breakout_modes": { "1x400G": ["etp35"], "2x400G[200G]": ["etp35a", "etp35b"], @@ -1037,7 +1037,7 @@ }, "Ethernet280": { "index": "36,36,36,36,36,36,36,36", - "lanes": "280,281,282,283,284,285,286,287,", + "lanes": "280,281,282,283,284,285,286,287", "breakout_modes": { "1x400G": ["etp36"], "2x400G[200G]": ["etp36a", "etp36b"], @@ -1047,7 +1047,7 @@ }, "Ethernet288": { "index": "37,37,37,37,37,37,37,37", - "lanes": "288,289,290,291,292,293,294,295,", + "lanes": "288,289,290,291,292,293,294,295", "breakout_modes": { "1x400G": ["etp37"], "2x400G[200G]": ["etp37a", "etp37b"], @@ -1057,7 +1057,7 @@ }, "Ethernet296": { "index": "38,38,38,38,38,38,38,38", - "lanes": "296,297,298,299,300,301,302,303,", + "lanes": "296,297,298,299,300,301,302,303", "breakout_modes": { "1x400G": ["etp38"], "2x400G[200G]": ["etp38a", "etp38b"], @@ -1067,7 +1067,7 @@ }, "Ethernet304": { "index": "39,39,39,39,39,39,39,39", - "lanes": "304,305,306,307,308,309,310,311,", + "lanes": "304,305,306,307,308,309,310,311", "breakout_modes": { "1x400G": ["etp39"], "2x400G[200G]": ["etp39a", "etp39b"], @@ -1077,7 +1077,7 @@ }, "Ethernet312": { "index": "40,40,40,40,40,40,40,40", - "lanes": "312,313,314,315,316,317,318,319,", + "lanes": "312,313,314,315,316,317,318,319", "breakout_modes": { "1x400G": ["etp40"], "2x400G[200G]": ["etp40a", "etp40b"], @@ -1087,7 +1087,7 @@ }, "Ethernet320": { "index": "41,41,41,41,41,41,41,41", - "lanes": "320,321,322,323,324,325,326,327,", + "lanes": "320,321,322,323,324,325,326,327", "breakout_modes": { "1x400G": ["etp41"], "2x400G[200G]": ["etp41a", "etp41b"], @@ -1097,7 +1097,7 @@ }, "Ethernet328": { "index": "42,42,42,42,42,42,42,42", - "lanes": "328,329,330,331,332,333,334,335,", + "lanes": "328,329,330,331,332,333,334,335", "breakout_modes": { "1x400G": ["etp42"], "2x400G[200G]": ["etp42a", "etp42b"], @@ -1107,7 +1107,7 @@ }, "Ethernet336": { "index": "43,43,43,43,43,43,43,43", - "lanes": "336,337,338,339,340,341,342,343,", + "lanes": "336,337,338,339,340,341,342,343", "breakout_modes": { "1x400G": ["etp43"], "2x400G[200G]": ["etp43a", "etp43b"], @@ -1117,7 +1117,7 @@ }, "Ethernet344": { "index": "44,44,44,44,44,44,44,44", - "lanes": "344,345,346,347,348,349,350,351,", + "lanes": "344,345,346,347,348,349,350,351", "breakout_modes": { "1x400G": ["etp44"], "2x400G[200G]": ["etp44a", "etp44b"], @@ -1127,7 +1127,7 @@ }, "Ethernet352": { "index": "45,45,45,45,45,45,45,45", - "lanes": "352,353,354,355,356,357,358,359,", + "lanes": "352,353,354,355,356,357,358,359", "breakout_modes": { "1x400G": ["etp45"], "2x400G[200G]": ["etp45a", "etp45b"], @@ -1137,7 +1137,7 @@ }, "Ethernet360": { "index": "46,46,46,46,46,46,46,46", - "lanes": "360,361,362,363,364,365,366,367,", + "lanes": "360,361,362,363,364,365,366,367", "breakout_modes": { "1x400G": ["etp46"], "2x400G[200G]": ["etp46a", "etp46b"], @@ -1147,7 +1147,7 @@ }, "Ethernet368": { "index": "47,47,47,47,47,47,47,47", - "lanes": "368,369,370,371,372,373,374,375,", + "lanes": "368,369,370,371,372,373,374,375", "breakout_modes": { "1x400G": ["etp47"], "2x400G[200G]": ["etp47a", "etp47b"], @@ -1157,7 +1157,7 @@ }, "Ethernet376": { "index": "48,48,48,48,48,48,48,48", - "lanes": "376,377,378,379,380,381,382,383,", + "lanes": "376,377,378,379,380,381,382,383", "breakout_modes": { "1x400G": ["etp48"], "2x400G[200G]": ["etp48a", "etp48b"], @@ -1167,7 +1167,7 @@ }, "Ethernet384": { "index": "49,49,49,49,49,49,49,49", - "lanes": "384,385,386,387,388,389,390,391,", + "lanes": "384,385,386,387,388,389,390,391", "breakout_modes": { "1x400G": ["etp49"], "2x400G[200G]": ["etp49a", "etp49b"], @@ -1177,7 +1177,7 @@ }, "Ethernet392": { "index": "50,50,50,50,50,50,50,50", - "lanes": "392,393,394,395,396,397,398,399,", + "lanes": "392,393,394,395,396,397,398,399", "breakout_modes": { "1x400G": ["etp50"], "2x400G[200G]": ["etp50a", "etp50b"], @@ -1187,7 +1187,7 @@ }, "Ethernet400": { "index": "51,51,51,51,51,51,51,51", - "lanes": "400,401,402,403,404,405,406,407,", + "lanes": "400,401,402,403,404,405,406,407", "breakout_modes": { "1x400G": ["etp51"], "2x400G[200G]": ["etp51a", "etp51b"], @@ -1197,7 +1197,7 @@ }, "Ethernet408": { "index": "52,52,52,52,52,52,52,52", - "lanes": "408,409,410,411,412,413,414,415,", + "lanes": "408,409,410,411,412,413,414,415", "breakout_modes": { "1x400G": ["etp52"], "2x400G[200G]": ["etp52a", "etp52b"], @@ -1207,7 +1207,7 @@ }, "Ethernet416": { "index": "53,53,53,53,53,53,53,53", - "lanes": "416,417,418,419,420,421,422,423,", + "lanes": "416,417,418,419,420,421,422,423", "breakout_modes": { "1x400G": ["etp53"], "2x400G[200G]": ["etp53a", "etp53b"], @@ -1217,7 +1217,7 @@ }, "Ethernet424": { "index": "54,54,54,54,54,54,54,54", - "lanes": "424,425,426,427,428,429,430,431,", + "lanes": "424,425,426,427,428,429,430,431", "breakout_modes": { "1x400G": ["etp54"], "2x400G[200G]": ["etp54a", "etp54b"], @@ -1227,7 +1227,7 @@ }, "Ethernet432": { "index": "55,55,55,55,55,55,55,55", - "lanes": "432,433,434,435,436,437,438,439,", + "lanes": "432,433,434,435,436,437,438,439", "breakout_modes": { "1x400G": ["etp55"], "2x400G[200G]": ["etp55a", "etp55b"], @@ -1237,7 +1237,7 @@ }, "Ethernet440": { "index": "56,56,56,56,56,56,56,56", - "lanes": "440,441,442,443,444,445,446,447,", + "lanes": "440,441,442,443,444,445,446,447", "breakout_modes": { "1x400G": ["etp56"], "2x400G[200G]": ["etp56a", "etp56b"], @@ -1247,7 +1247,7 @@ }, "Ethernet448": { "index": "57,57,57,57,57,57,57,57", - "lanes": "448,449,450,451,452,453,454,455,", + "lanes": "448,449,450,451,452,453,454,455", "breakout_modes": { "1x400G": ["etp57"], "2x400G[200G]": ["etp57a", "etp57b"], @@ -1257,7 +1257,7 @@ }, "Ethernet456": { "index": "58,58,58,58,58,58,58,58", - "lanes": "456,457,458,459,460,461,462,463,", + "lanes": "456,457,458,459,460,461,462,463", "breakout_modes": { "1x400G": ["etp58"], "2x400G[200G]": ["etp58a", "etp58b"], @@ -1267,7 +1267,7 @@ }, "Ethernet464": { "index": "59,59,59,59,59,59,59,59", - "lanes": "464,465,466,467,468,469,470,471,", + "lanes": "464,465,466,467,468,469,470,471", "breakout_modes": { "1x400G": ["etp59"], "2x400G[200G]": ["etp59a", "etp59b"], @@ -1277,7 +1277,7 @@ }, "Ethernet472": { "index": "60,60,60,60,60,60,60,60", - "lanes": "472,473,474,475,476,477,478,479,", + "lanes": "472,473,474,475,476,477,478,479", "breakout_modes": { "1x400G": ["etp60"], "2x400G[200G]": ["etp60a", "etp60b"], @@ -1287,7 +1287,7 @@ }, "Ethernet480": { "index": "61,61,61,61,61,61,61,61", - "lanes": "480,481,482,483,484,485,486,487,", + "lanes": "480,481,482,483,484,485,486,487", "breakout_modes": { "1x400G": ["etp61"], "2x400G[200G]": ["etp61a", "etp61b"], @@ -1297,7 +1297,7 @@ }, "Ethernet488": { "index": "62,62,62,62,62,62,62,62", - "lanes": "488,489,490,491,492,493,494,495,", + "lanes": "488,489,490,491,492,493,494,495", "breakout_modes": { "1x400G": ["etp62"], "2x400G[200G]": ["etp62a", "etp62b"], @@ -1307,7 +1307,7 @@ }, "Ethernet496": { "index": "63,63,63,63,63,63,63,63", - "lanes": "496,497,498,499,500,501,502,503,", + "lanes": "496,497,498,499,500,501,502,503", "breakout_modes": { "1x400G": ["etp63"], "2x400G[200G]": ["etp63a", "etp63b"], @@ -1317,7 +1317,7 @@ }, "Ethernet504": { "index": "64,64,64,64,64,64,64,64", - "lanes": "504,505,506,507,508,509,510,511,", + "lanes": "504,505,506,507,508,509,510,511", "breakout_modes": { "1x400G": ["etp64"], "2x400G[200G]": ["etp64a", "etp64b"], From 199a7878734235704b3c96bd5870742d4ffdaf1f Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Thu, 9 Jan 2025 12:47:15 +0200 Subject: [PATCH 15/17] Fix typo in Mellanox-SN5610N-C224O8 port_config.ini --- .../Mellanox-SN5610N-C224O8/port_config.ini | 2 ++ 1 file changed, 2 insertions(+) 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 index 95a455f1dc6..7efebf19d66 100644 --- 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 @@ -77,6 +77,8 @@ Ethernet118 118 etp15g 15 100000 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 From 0aba199032bad4db794d64bd9f806dcdf3c44536 Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Tue, 14 Jan 2025 14:57:22 +0200 Subject: [PATCH 16/17] Update DSCP mapping for SN5610N SKUs --- .../buffers_defaults_objects.j2 | 2 +- .../buffers_defaults_objects.j2 | 214 +++++++++++++++++- .../Mellanox-SN5610N-C256S2/qos.json.j2 | 153 ++++++------- 3 files changed, 291 insertions(+), 78 deletions(-) mode change 120000 => 100644 device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 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 index c01aebb7ae1..2f04a30b041 120000 --- 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 @@ -1 +1 @@ -../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers_defaults_objects.j2 \ No newline at end of file +../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-C256S2/buffers_defaults_objects.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 deleted file mode 120000 index c01aebb7ae1..00000000000 --- a/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/buffers_defaults_objects.j2 +++ /dev/null @@ -1 +0,0 @@ -../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers_defaults_objects.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 00000000000..ea5630e0446 --- /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/qos.json.j2 b/device/mellanox/x86_64-nvidia_sn5610n-r0/Mellanox-SN5610N-C256S2/qos.json.j2 index e6966dba3cd..6acecb954a6 100644 --- 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 @@ -1,14 +1,11 @@ {# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES - Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + 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. @@ -19,70 +16,70 @@ {%- macro generate_dscp_to_tc_map_per_sku() -%} "DSCP_TO_TC_MAP": { "AZURE": { - "0" : "0", + "0" : "6", "1" : "1", "2" : "2", "3" : "3", - "4" : "4", - "5" : "1", - "6" : "6", - "7" : "1", + "4" : "3", + "5" : "4", + "6" : "5", + "7" : "0", "8" : "0", - "9" : "1", - "10": "1", - "11": "1", - "12": "1", - "13": "1", - "14": "1", - "15": "1", - "16": "1", - "17": "1", - "18": "1", - "19": "1", - "20": "1", - "21": "1", - "22": "1", - "23": "1", - "24": "1", - "25": "1", - "26": "1", - "27": "1", - "28": "1", - "29": "1", - "30": "1", - "31": "1", - "32": "1", - "33": "1", - "34": "1", - "35": "1", - "36": "1", - "37": "1", - "38": "1", - "39": "1", - "40": "1", - "41": "1", - "42": "1", - "43": "1", - "44": "1", - "45": "5", - "46": "1", - "47": "1", - "48": "7", - "49": "1", - "50": "1", - "51": "1", - "52": "1", - "53": "1", - "54": "1", - "55": "1", - "56": "1", - "57": "1", - "58": "1", - "59": "1", - "60": "1", - "61": "1", - "62": "1", - "63": "1" + "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 -%} @@ -103,42 +100,46 @@ {%- macro generate_scheduler_per_sku() -%} "SCHEDULER": { - "scheduler.0": { + "scheduler.1": { "type" : "DWRR", "weight": "1" }, - "scheduler.1": { + "scheduler.10": { "type" : "DWRR", - "weight": "5" + "weight": "10" }, - "scheduler.2": { + "scheduler.12": { "type" : "DWRR", - "weight": "90" + "weight": "12" + }, + "scheduler.32": { + "type" : "DWRR", + "weight": "32" } }, {%- endmacro -%} {%- macro generate_single_queue_per_sku(port) -%} "{{ port }}|0": { - "scheduler": "scheduler.0" + "scheduler": "scheduler.1" }, "{{ port }}|1": { - "scheduler": "scheduler.2" + "scheduler": "scheduler.10" }, "{{ port }}|2": { - "scheduler": "scheduler.0" + "scheduler": "scheduler.12" }, "{{ port }}|3": { - "scheduler": "scheduler.0" + "scheduler": "scheduler.12" }, "{{ port }}|4": { - "scheduler": "scheduler.0" + "scheduler": "scheduler.32" }, "{{ port }}|5": { - "scheduler": "scheduler.1" + "scheduler": "scheduler.32" }, "{{ port }}|6": { - "scheduler": "scheduler.0" + "scheduler": "scheduler.1" } {%- endmacro -%} From cb0e8967f0fa40a6e9163a8aa879693eee624a6d Mon Sep 17 00:00:00 2001 From: noaOrMlnx Date: Wed, 5 Feb 2025 09:32:21 +0200 Subject: [PATCH 17/17] Update SN5610N platform.json SODIMM sensor name --- device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json index 9a84e64c73a..411fe3153e0 100644 --- a/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json +++ b/device/mellanox/x86_64-nvidia_sn5610n-r0/platform.json @@ -150,7 +150,7 @@ "name": "CPU Pack Temp" }, { - "name": "SODIMM 1 Temp" + "name": "SODIMM 2 Temp" } ], "sfps": [