forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Mellanox] Adding SKU Mellanox-SN5600-C256 #58
Closed
Closed
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9acc9d5
Add new SKU Mellanox-SN5600-C256
DavidZagury c883906
Use links
DavidZagury 8a51f84
Fix header
DavidZagury f23297f
Add file optics_si_settings.json
DavidZagury 678f2ff
Add file media_settings.json
DavidZagury a97201f
Fix Buffer values
DavidZagury b60321b
Add auto neg off
DavidZagury 16a807e
Fix buffers values
DavidZagury c47b346
Fix egress_lossless_pool_size
DavidZagury 5f0e40f
Add subports
DavidZagury 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_sn5600-r0/Mellanox-SN5600-C256/buffers.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256/buffers_defaults_objects.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers_defaults_objects.j2 |
47 changes: 47 additions & 0 deletions
47
device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256/buffers_defaults_t0.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 = '118249472' %} | ||
{% set ingress_lossless_pool_xoff = '15728640' %} | ||
{% set egress_lossless_pool_size = '162027520' %} | ||
{% set egress_lossy_pool_size = '118249472' %} | ||
|
||
{% 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 %} |
47 changes: 47 additions & 0 deletions
47
device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256/buffers_defaults_t1.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 = '300m' %} | ||
{% set ingress_lossless_pool_size = '137779200' %} | ||
{% set ingress_lossless_pool_xoff = '10092544' %} | ||
{% set egress_lossless_pool_size = '162027520' %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's use 158229504 |
||
{% set egress_lossy_pool_size = '137779200' %} | ||
|
||
{% 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 %} |
16 changes: 16 additions & 0 deletions
16
device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256/buffers_dynamic.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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' %} |
7 changes: 7 additions & 0 deletions
7
.../mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256/create_only_config_db_buffers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"DEVICE_METADATA": { | ||
"localhost": { | ||
"create_only_config_db_buffers": "true" | ||
} | ||
} | ||
} |
234 changes: 234 additions & 0 deletions
234
device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256/media_settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,234 @@ | ||
{ | ||
"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: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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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.
this value is too large to be accepted by SDK. Let's use 158229504