From 210a485344bca2e63394ff9684793045828a2eda Mon Sep 17 00:00:00 2001 From: tshalvi Date: Mon, 31 Mar 2025 17:03:30 +0300 Subject: [PATCH 1/3] Enable CMIS host management on sn5640 --- .../media_settings.json | 1 + .../optics_si_settings.json | 1 + .../Mellanox-SN5640-C448O16/sai.profile | 1 + .../media_settings.json | 854 ++++++++++++++++++ .../optics_si_settings.json | 142 +++ .../Mellanox-SN5640-C512S2/sai.profile | 1 + .../pmon_daemon_control.json | 2 +- 7 files changed, 1001 insertions(+), 1 deletion(-) create mode 120000 device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/media_settings.json create mode 120000 device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/optics_si_settings.json create mode 100644 device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json create mode 100644 device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/media_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/media_settings.json new file mode 120000 index 00000000000..d4474a50291 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/media_settings.json @@ -0,0 +1 @@ +../Mellanox-SN5640-C512S2/media_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/optics_si_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/optics_si_settings.json new file mode 120000 index 00000000000..55e64977cd0 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/optics_si_settings.json @@ -0,0 +1 @@ +../Mellanox-SN5640-C512S2/optics_si_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/sai.profile b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/sai.profile index 0c60c551ce6..16ef6c88694 100644 --- a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/sai.profile +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/sai.profile @@ -1,3 +1,4 @@ SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_5640_448x100g_16x400g.xml SAI_KEY_SPC5_LOSSY_SCHEDULING=1 SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1 +SAI_INDEPENDENT_MODULE_MODE=1 diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json new file mode 100644 index 00000000000..896233eb914 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json @@ -0,0 +1,854 @@ +{ + "GLOBAL_MEDIA_SETTINGS": { + "1-64": { + "OSFP-8X-sm_media_interface": { + "speed:100GAUI-1-L": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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:100GAUI-1-S": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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:200GAUI-2-S": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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:200GAUI-2-L": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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:200GAUI-4": { + "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": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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-S": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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:800G": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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" + } + } + }, + "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": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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-S": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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-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": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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:200GAUI-2-L": { + "pre3": { + "lane0": "0x00000000", + "lane1": "0x00000000", + "lane2": "0x00000000", + "lane3": "0x00000000", + "lane4": "0x00000000", + "lane5": "0x00000000", + "lane6": "0x00000000", + "lane7": "0x00000000" + }, + "pre2": { + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" + }, + "pre1": { + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" + }, + "main": { + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" + }, + "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: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_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json new file mode 100644 index 00000000000..80d06ac743a --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/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_sn5640-r0/Mellanox-SN5640-C512S2/sai.profile b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/sai.profile index f4841177945..f16a2bfa4d8 100644 --- a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/sai.profile +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/sai.profile @@ -1,3 +1,4 @@ SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_5640_512x100g.xml SAI_KEY_SPC5_LOSSY_SCHEDULING=1 SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1 +SAI_INDEPENDENT_MODULE_MODE=1 diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json b/device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json index fefdfb32739..208fa63ca29 100644 --- a/device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json @@ -1,6 +1,6 @@ { "skip_ledd": true, "skip_fancontrol": true, - "skip_xcvrd_cmis_mgr": true + "skip_xcvrd_cmis_mgr": false } From 95659e34b891d7f509cec3421b2978d69f81def9 Mon Sep 17 00:00:00 2001 From: tshalvi Date: Mon, 31 Mar 2025 17:46:05 +0300 Subject: [PATCH 2/3] Updated media_settings.json for sn5600 and redirected sn5640 json files to sn5600 jsons --- .../Mellanox-SN5600-V256/media_settings.json | 704 +++++++------- .../media_settings.json | 2 +- .../optics_si_settings.json | 2 +- .../pmon_daemon_control.json | 0 .../media_settings.json | 855 +----------------- .../optics_si_settings.json | 143 +-- .../pmon_daemon_control.json | 6 + 7 files changed, 362 insertions(+), 1350 deletions(-) rename device/mellanox/x86_64-nvidia_sn5640-r0/{ => Mellanox-SN5640-C448O16}/pmon_daemon_control.json (100%) mode change 100644 => 120000 device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json mode change 100644 => 120000 device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json create mode 100644 device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/pmon_daemon_control.json diff --git a/device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json b/device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json index aea7adb8271..896233eb914 100644 --- a/device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json +++ b/device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json @@ -14,34 +14,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -54,14 +54,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:100GAUI-1-S": { @@ -76,34 +76,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -116,14 +116,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:200GAUI-2-S": { @@ -138,34 +138,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -178,14 +178,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:200GAUI-2-L": { @@ -200,34 +200,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -240,14 +240,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:200GAUI-4": { @@ -324,34 +324,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -364,14 +364,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:400GAUI-4-S": { @@ -386,34 +386,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -426,14 +426,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:800G": { @@ -448,34 +448,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -488,14 +488,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } } }, @@ -512,34 +512,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -552,14 +552,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:400GAUI-4-S": { @@ -574,34 +574,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -614,14 +614,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:400GAUI-8": { @@ -698,34 +698,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -738,14 +738,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:200GAUI-2-L": { @@ -760,34 +760,34 @@ "lane7": "0x00000000" }, "pre2": { - "lane0": "0x00000005", - "lane1": "0x00000005", - "lane2": "0x00000005", - "lane3": "0x00000005", - "lane4": "0x00000005", - "lane5": "0x00000005", - "lane6": "0x00000005", - "lane7": "0x00000005" + "lane0": "0x00000003", + "lane1": "0x00000003", + "lane2": "0x00000003", + "lane3": "0x00000003", + "lane4": "0x00000003", + "lane5": "0x00000003", + "lane6": "0x00000003", + "lane7": "0x00000003" }, "pre1": { - "lane0": "0xfffffff1", - "lane1": "0xfffffff1", - "lane2": "0xfffffff1", - "lane3": "0xfffffff1", - "lane4": "0xfffffff1", - "lane5": "0xfffffff1", - "lane6": "0xfffffff1", - "lane7": "0xfffffff1" + "lane0": "0xffffffec", + "lane1": "0xffffffec", + "lane2": "0xffffffec", + "lane3": "0xffffffec", + "lane4": "0xffffffec", + "lane5": "0xffffffec", + "lane6": "0xffffffec", + "lane7": "0xffffffec" }, "main": { - "lane0": "0x0000002b", - "lane1": "0x0000002b", - "lane2": "0x0000002b", - "lane3": "0x0000002b", - "lane4": "0x0000002b", - "lane5": "0x0000002b", - "lane6": "0x0000002b", - "lane7": "0x0000002b" + "lane0": "0x00000028", + "lane1": "0x00000028", + "lane2": "0x00000028", + "lane3": "0x00000028", + "lane4": "0x00000028", + "lane5": "0x00000028", + "lane6": "0x00000028", + "lane7": "0x00000028" }, "post1": { "lane0": "0x00000000", @@ -800,14 +800,14 @@ "lane7": "0x00000000" }, "idriver": { - "lane0": "0x00000037", - "lane1": "0x00000037", - "lane2": "0x00000037", - "lane3": "0x00000037", - "lane4": "0x00000037", - "lane5": "0x00000037", - "lane6": "0x00000037", - "lane7": "0x00000037" + "lane0": "0x0000003f", + "lane1": "0x0000003f", + "lane2": "0x0000003f", + "lane3": "0x0000003f", + "lane4": "0x0000003f", + "lane5": "0x0000003f", + "lane6": "0x0000003f", + "lane7": "0x0000003f" } }, "speed:200GAUI-4": { diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/media_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/media_settings.json index d4474a50291..bb10e748618 120000 --- a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/media_settings.json +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/media_settings.json @@ -1 +1 @@ -../Mellanox-SN5640-C512S2/media_settings.json \ No newline at end of file +../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/optics_si_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/optics_si_settings.json index 55e64977cd0..84477b1a15d 120000 --- a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/optics_si_settings.json +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/optics_si_settings.json @@ -1 +1 @@ -../Mellanox-SN5640-C512S2/optics_si_settings.json \ No newline at end of file +../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/optics_si_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/pmon_daemon_control.json similarity index 100% rename from device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json rename to device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/pmon_daemon_control.json diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json deleted file mode 100644 index 896233eb914..00000000000 --- a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json +++ /dev/null @@ -1,854 +0,0 @@ -{ - "GLOBAL_MEDIA_SETTINGS": { - "1-64": { - "OSFP-8X-sm_media_interface": { - "speed:100GAUI-1-L": { - "pre3": { - "lane0": "0x00000000", - "lane1": "0x00000000", - "lane2": "0x00000000", - "lane3": "0x00000000", - "lane4": "0x00000000", - "lane5": "0x00000000", - "lane6": "0x00000000", - "lane7": "0x00000000" - }, - "pre2": { - "lane0": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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:100GAUI-1-S": { - "pre3": { - "lane0": "0x00000000", - "lane1": "0x00000000", - "lane2": "0x00000000", - "lane3": "0x00000000", - "lane4": "0x00000000", - "lane5": "0x00000000", - "lane6": "0x00000000", - "lane7": "0x00000000" - }, - "pre2": { - "lane0": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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:200GAUI-2-S": { - "pre3": { - "lane0": "0x00000000", - "lane1": "0x00000000", - "lane2": "0x00000000", - "lane3": "0x00000000", - "lane4": "0x00000000", - "lane5": "0x00000000", - "lane6": "0x00000000", - "lane7": "0x00000000" - }, - "pre2": { - "lane0": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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:200GAUI-2-L": { - "pre3": { - "lane0": "0x00000000", - "lane1": "0x00000000", - "lane2": "0x00000000", - "lane3": "0x00000000", - "lane4": "0x00000000", - "lane5": "0x00000000", - "lane6": "0x00000000", - "lane7": "0x00000000" - }, - "pre2": { - "lane0": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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:200GAUI-4": { - "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": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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-S": { - "pre3": { - "lane0": "0x00000000", - "lane1": "0x00000000", - "lane2": "0x00000000", - "lane3": "0x00000000", - "lane4": "0x00000000", - "lane5": "0x00000000", - "lane6": "0x00000000", - "lane7": "0x00000000" - }, - "pre2": { - "lane0": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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:800G": { - "pre3": { - "lane0": "0x00000000", - "lane1": "0x00000000", - "lane2": "0x00000000", - "lane3": "0x00000000", - "lane4": "0x00000000", - "lane5": "0x00000000", - "lane6": "0x00000000", - "lane7": "0x00000000" - }, - "pre2": { - "lane0": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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" - } - } - }, - "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": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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-S": { - "pre3": { - "lane0": "0x00000000", - "lane1": "0x00000000", - "lane2": "0x00000000", - "lane3": "0x00000000", - "lane4": "0x00000000", - "lane5": "0x00000000", - "lane6": "0x00000000", - "lane7": "0x00000000" - }, - "pre2": { - "lane0": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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-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": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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:200GAUI-2-L": { - "pre3": { - "lane0": "0x00000000", - "lane1": "0x00000000", - "lane2": "0x00000000", - "lane3": "0x00000000", - "lane4": "0x00000000", - "lane5": "0x00000000", - "lane6": "0x00000000", - "lane7": "0x00000000" - }, - "pre2": { - "lane0": "0x00000003", - "lane1": "0x00000003", - "lane2": "0x00000003", - "lane3": "0x00000003", - "lane4": "0x00000003", - "lane5": "0x00000003", - "lane6": "0x00000003", - "lane7": "0x00000003" - }, - "pre1": { - "lane0": "0xffffffec", - "lane1": "0xffffffec", - "lane2": "0xffffffec", - "lane3": "0xffffffec", - "lane4": "0xffffffec", - "lane5": "0xffffffec", - "lane6": "0xffffffec", - "lane7": "0xffffffec" - }, - "main": { - "lane0": "0x00000028", - "lane1": "0x00000028", - "lane2": "0x00000028", - "lane3": "0x00000028", - "lane4": "0x00000028", - "lane5": "0x00000028", - "lane6": "0x00000028", - "lane7": "0x00000028" - }, - "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: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_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json new file mode 120000 index 00000000000..bb10e748618 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/media_settings.json @@ -0,0 +1 @@ +../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/media_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json deleted file mode 100644 index 80d06ac743a..00000000000 --- a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "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_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json new file mode 120000 index 00000000000..84477b1a15d --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/optics_si_settings.json @@ -0,0 +1 @@ +../../x86_64-nvidia_sn5600-r0/Mellanox-SN5600-V256/optics_si_settings.json \ No newline at end of file diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/pmon_daemon_control.json b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/pmon_daemon_control.json new file mode 100644 index 00000000000..208fa63ca29 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C512S2/pmon_daemon_control.json @@ -0,0 +1,6 @@ +{ + "skip_ledd": true, + "skip_fancontrol": true, + "skip_xcvrd_cmis_mgr": false +} + From cea01b0950d29d3178bf0984b3fe6e1fd1f87c79 Mon Sep 17 00:00:00 2001 From: tshalvi Date: Thu, 3 Apr 2025 11:31:16 +0300 Subject: [PATCH 3/3] Added a default pmon_daemon_control.json to SN5640 platform folder --- .../x86_64-nvidia_sn5640-r0/pmon_daemon_control.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json diff --git a/device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json b/device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json new file mode 100644 index 00000000000..fefdfb32739 --- /dev/null +++ b/device/mellanox/x86_64-nvidia_sn5640-r0/pmon_daemon_control.json @@ -0,0 +1,6 @@ +{ + "skip_ledd": true, + "skip_fancontrol": true, + "skip_xcvrd_cmis_mgr": true +} +