forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
[Mellanox] Add SPC5 SN5640 platform, Mellanox-SN5640-C512S2,Mellanox-SN5640-C448O16 SKUs #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 4 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
f50a9f3
[Mellanox] Add SPC5 SN5640 platform, Mellanox-SN5640-C512S2 SKU
noaOrMlnx 7303287
Add Mellanox-SN5640-C448O16 SKU
noaOrMlnx ba2d74a
Remove deprecated plugins folder from SN5640 platform
noaOrMlnx 453c83e
Fix CR comments for buffers_default_objects
noaOrMlnx 9405a76
Fix buffers calculations
noaOrMlnx 8935624
Fix typo in mlnx-fw-upgrade.j2
noaOrMlnx d915f0e
Update service ports lanes to be 513,515
noaOrMlnx 17cae47
Update sai.xml for 2 SN5640 SKUs
noaOrMlnx a1d9811
Update buffers_defaults_objects.j2
noaOrMlnx c6ae529
Revert "Update service ports lanes to be 513,515"
noaOrMlnx 5712a15
Merge branch 'master' into Mellanox-SN5640-platform
noaOrMlnx abd5218
Update SN5640 platform.json to fix SODIMM sensor name
noaOrMlnx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/buffers.json.j2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/buffers_defaults_objects.j2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../Mellanox-SN5640-C512S2/buffers_defaults_objects.j2 |
54 changes: 54 additions & 0 deletions
54
device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/buffers_defaults_t0.j2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| {# | ||
| SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES | ||
| Copyright (c) 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. | ||
| #} | ||
| {% set default_cable = '0m' %} | ||
| {%-set ports2cable = { | ||
| 'torrouter_server' : '0m', | ||
| 'leafrouter_torrouter' : '0m', | ||
| 'spinerouter_leafrouter' : '0m' | ||
| } | ||
| -%} | ||
| {% set ingress_lossless_pool_size = '108271616' %} | ||
| {% set ingress_lossless_pool_xoff = '0' %} | ||
| {% set egress_lossless_pool_size = '136210432' %} | ||
| {% set egress_lossy_pool_size = '108271616' %} | ||
|
|
||
| {% import 'buffers_defaults_objects.j2' as defs with context %} | ||
|
|
||
| {%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %} | ||
| {{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %} | ||
| {{ defs.generate_profile_lists(port_names_active, port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) %} | ||
| {{ defs.generate_queue_buffers_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %} | ||
| {{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_pg_profiles_with_extra_lossless_pgs_with_inactive_ports(port_names_active, port_names_extra_pgs, port_names_inactive) %} | ||
| {{ defs.generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %} | ||
| {{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }} | ||
| {%- endmacro %} | ||
54 changes: 54 additions & 0 deletions
54
device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/buffers_defaults_t1.j2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| {# | ||
| SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES | ||
| Copyright (c) 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. | ||
| #} | ||
| {% set default_cable = '0m' %} | ||
| {%-set ports2cable = { | ||
| 'torrouter_server' : '0m', | ||
| 'leafrouter_torrouter' : '0m', | ||
| 'spinerouter_leafrouter' : '0m' | ||
| } | ||
| -%} | ||
| {% set ingress_lossless_pool_size = '108271616' %} | ||
| {% set ingress_lossless_pool_xoff = '0' %} | ||
| {% set egress_lossless_pool_size = '136210432' %} | ||
| {% set egress_lossy_pool_size = '108271616' %} | ||
|
|
||
| {% import 'buffers_defaults_objects.j2' as defs with context %} | ||
|
|
||
| {%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %} | ||
| {{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %} | ||
| {{ defs.generate_profile_lists(port_names_active, port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) %} | ||
| {{ defs.generate_queue_buffers_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %} | ||
| {{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_pg_profiles_with_extra_lossless_pgs_with_inactive_ports(port_names_active, port_names_extra_pgs, port_names_inactive) %} | ||
| {{ defs.generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) }} | ||
| {%- endmacro %} | ||
|
|
||
| {%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %} | ||
| {{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }} | ||
| {%- endmacro %} |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/buffers_dynamic.json.j2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_dynamic.json.j2 |
7 changes: 7 additions & 0 deletions
7
...llanox/x86_64-nvidia_sn5640-r0/Mellanox-SN5640-C448O16/create_only_config_db_buffers.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "DEVICE_METADATA": { | ||
| "localhost": { | ||
| "create_only_config_db_buffers": "true" | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got 108270592?