forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
New SN4800 device #15
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
Merged
tomer-israel
merged 3 commits into
liorghub:SN4800_support
from
tomer-israel:new_SM4800_device
Apr 26, 2021
Merged
Changes from all commits
Commits
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-mlnx_msn4800-r0/ACS-MSN4800/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-mlnx_msn4800-r0/ACS-MSN4800/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 @@ | ||
| ../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers_defaults_t0.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/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 @@ | ||
| ../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers_defaults_t1.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/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 |
100 changes: 100 additions & 0 deletions
100
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/hwsku.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,100 @@ | ||
| { | ||
| "interfaces": { | ||
| "Ethernet0": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet8": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet16": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet24": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet32": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet40": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet48": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet56": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet64": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet72": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet80": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet88": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet96": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet104": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet112": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet120": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet128": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet136": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet144": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet152": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet160": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet168": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet176": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet184": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet192": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet200": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet208": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet216": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet224": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet232": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet240": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| }, | ||
| "Ethernet248": { | ||
| "default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]" | ||
| } | ||
| } | ||
| } |
23 changes: 23 additions & 0 deletions
23
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/pg_profile_lookup.ini
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,23 @@ | ||
| # PG lossless profiles. | ||
| # speed cable size xon xoff threshold | ||
| 10000 5m 52224 19456 32768 0 | ||
| 25000 5m 52224 19456 32768 0 | ||
| 40000 5m 53248 19456 33792 0 | ||
| 50000 5m 53248 19456 33792 0 | ||
| 100000 5m 53248 19456 33792 0 | ||
| 200000 5m 55296 19456 35840 0 | ||
| 400000 5m 86016 37888 38912 0 | ||
| 10000 40m 53248 19456 33792 0 | ||
| 25000 40m 55296 19456 35840 0 | ||
| 40000 40m 57344 19456 37888 0 | ||
| 50000 40m 58368 19456 38912 0 | ||
| 100000 40m 63488 19456 44032 0 | ||
| 200000 40m 74752 19456 55296 0 | ||
| 400000 40m 124928 37888 77824 0 | ||
| 10000 300m 60416 19456 40960 0 | ||
| 25000 300m 73728 19456 54272 0 | ||
| 40000 300m 86016 19456 66560 0 | ||
| 50000 300m 95232 19456 75776 0 | ||
| 100000 300m 137216 19456 117760 0 | ||
| 200000 300m 223232 19456 203776 0 | ||
| 400000 300m 420864 37888 373760 0 | ||
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/port_config.ini
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 @@ | ||
| # name lanes alias index |
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/qos.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 @@ | ||
| SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4800.xml |
19 changes: 19 additions & 0 deletions
19
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai_4800.xml
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,19 @@ | ||
| <?xml version="1.0"?> | ||
tomer-israel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <root> | ||
| <platform_info type="4800"> | ||
|
|
||
| <!-- Device MAC address --> | ||
| <device-mac-address>00:02:03:04:05:00</device-mac-address> | ||
|
|
||
| <!-- ISSU enabled --> | ||
| <issu-enabled>1</issu-enabled> | ||
|
|
||
| <!-- Number of ports in the following port list --> | ||
| <number-of-physical-ports>0</number-of-physical-ports> | ||
|
|
||
| <!-- List of ports in the device --> | ||
| <ports-list> | ||
| </ports-list> | ||
| </platform_info> | ||
| </root> | ||
|
|
||
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 @@ | ||
| ACS-MSN4800 t1 |
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,111 @@ | ||
| - bus: '00' | ||
| dev: '00' | ||
| fn: '0' | ||
| id: 3e10 | ||
| name: 'Host bridge : Intel Corporation Device (rev 07)' | ||
| - bus: '00' | ||
| dev: '01' | ||
| fn: '0' | ||
| id: 1901 | ||
| name: 'PCI bridge : Intel Corporation Skylake PCIe Controller (x16) (rev 07) | ||
| (prog-if 00 [Normal decode])' | ||
| - bus: '00' | ||
| dev: '08' | ||
| fn: '0' | ||
| id: 1911 | ||
| name: 'System peripheral : Intel Corporation Skylake Gaussian Mixture Model' | ||
| - bus: '00' | ||
| dev: '12' | ||
| fn: '0' | ||
| id: a379 | ||
| name: 'Signal processing controller : Intel Corporation Device (rev 10)' | ||
| - bus: '00' | ||
| dev: '14' | ||
| fn: '0' | ||
| id: a36d | ||
| name: 'USB controller : Intel Corporation Device (rev 10) (prog-if 30 [XHCI])' | ||
| - bus: '00' | ||
| dev: '14' | ||
| fn: '2' | ||
| id: a36f | ||
| name: 'RAM memory : Intel Corporation Device (rev 10)' | ||
| - bus: '00' | ||
| dev: '15' | ||
| fn: '0' | ||
| id: a368 | ||
| name: 'Serial bus controller : Intel Corporation Device (rev 10)' | ||
| - bus: '00' | ||
| dev: '16' | ||
| fn: '0' | ||
| id: a360 | ||
| name: 'Communication controller : Intel Corporation Device (rev 10)' | ||
| - bus: '00' | ||
| dev: '17' | ||
| fn: '0' | ||
| id: a353 | ||
| name: 'SATA controller : Intel Corporation Device (rev 10) (prog-if 01 [AHCI 1.0])' | ||
| - bus: '00' | ||
| dev: '1b' | ||
| fn: '0' | ||
| id: a340 | ||
| name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
| - bus: '00' | ||
| dev: '1b' | ||
| fn: '2' | ||
| id: a342 | ||
| name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
| - bus: '00' | ||
| dev: '1b' | ||
| fn: '4' | ||
| id: a32c | ||
| name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
| - bus: '00' | ||
| dev: '1c' | ||
| fn: '0' | ||
| id: a33d | ||
| name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
| - bus: '00' | ||
| dev: '1c' | ||
| fn: '6' | ||
| id: a33e | ||
| name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
| - bus: '00' | ||
| dev: '1c' | ||
| fn: '7' | ||
| id: a33f | ||
| name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
| - bus: '00' | ||
| dev: '1d' | ||
| fn: '0' | ||
| id: a334 | ||
| name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
| - bus: '00' | ||
| dev: '1e' | ||
| fn: '0' | ||
| id: a328 | ||
| name: 'Communication controller : Intel Corporation Device (rev 10)' | ||
| - bus: '00' | ||
| dev: '1f' | ||
| fn: '0' | ||
| id: a30e | ||
| name: 'ISA bridge : Intel Corporation Device (rev 10)' | ||
| - bus: '00' | ||
| dev: '1f' | ||
| fn: '4' | ||
| id: a323 | ||
| name: 'SMBus : Intel Corporation Device (rev 10)' | ||
| - bus: '00' | ||
| dev: '1f' | ||
| fn: '5' | ||
| id: a324 | ||
| name: 'Serial bus controller : Intel Corporation Device (rev 10)' | ||
| - bus: '00' | ||
| dev: '1f' | ||
| fn: '6' | ||
| id: 15bb | ||
| name: 'Ethernet controller : Intel Corporation Device (rev 10)' | ||
| - bus: '01' | ||
| dev: '00' | ||
| fn: '0' | ||
| id: cf6c | ||
| name: 'Ethernet controller : Mellanox Technologies Device' |
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.
Uh oh!
There was an error while loading. Please reload this page.