-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HWSKU] [Marvell] Added HWSKU for Platform 98cx8580 (#4205)
Suuported profiles 32x400G and 16x400G Signed-off-by: Antony Rheneus <[email protected]>
- Loading branch information
1 parent
ea38d06
commit 4ed3fe4
Showing
98 changed files
with
3,234 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16X25G/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,36 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "11500000", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_pool": { | ||
"size": "11500000", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"3" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"mode": "static", | ||
"size":"330000", | ||
"static_th":"0" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"size":"0", | ||
"mode": "dynamic", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
36 changes: 36 additions & 0 deletions
36
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16X25G/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,36 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "11500000", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_pool": { | ||
"size": "11500000", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"3" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"mode": "static", | ||
"size":"330000", | ||
"static_th":"0" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"size":"0", | ||
"mode": "dynamic", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
19 changes: 19 additions & 0 deletions
19
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16X25G/port_config.ini
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,19 @@ | ||
# name lanes speed alias | ||
Ethernet0 0 25000 twenty5GigE0 | ||
Ethernet1 1 25000 twenty5GigE1 | ||
Ethernet2 2 25000 twenty5GigE2 | ||
Ethernet3 3 25000 twenty5GigE3 | ||
Ethernet4 4 25000 twenty5GigE4 | ||
Ethernet5 5 25000 twenty5GigE5 | ||
Ethernet6 6 25000 twenty5GigE6 | ||
Ethernet7 7 25000 twenty5GigE7 | ||
Ethernet8 8 25000 twenty5GigE8 | ||
Ethernet9 9 25000 twenty5GigE9 | ||
Ethernet10 10 25000 twenty5GigE10 | ||
Ethernet11 11 25000 twenty5GigE11 | ||
Ethernet12 12 25000 twenty5GigE12 | ||
Ethernet13 13 25000 twenty5GigE13 | ||
Ethernet14 14 25000 twenty5GigE14 | ||
Ethernet15 15 25000 twenty5GigE15 | ||
Ethernet16 16 10000 tenGigE16 | ||
Ethernet17 17 10000 tenGigE17 |
2 changes: 2 additions & 0 deletions
2
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16X25G/profile.ini
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,2 @@ | ||
switchMacAddress=00:01:02:03:04:05 | ||
apPortListWithCableLen=000:1 001:1 002:1 003:1 004:1 005:1 006:1 007:1 008:1 009:1 010:1 011:1 012:1 013:1 014:1 015:1 |
3 changes: 3 additions & 0 deletions
3
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16X25G/sai.profile
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,3 @@ | ||
mode=1 | ||
hwId=FALCON16X25G | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/profile.ini |
36 changes: 36 additions & 0 deletions
36
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16x400G/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,36 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "11500000", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_pool": { | ||
"size": "11500000", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"3" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"mode": "static", | ||
"size":"330000", | ||
"static_th":"0" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"size":"0", | ||
"mode": "dynamic", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
36 changes: 36 additions & 0 deletions
36
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16x400G/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,36 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "11500000", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_pool": { | ||
"size": "11500000", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"3" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"mode": "static", | ||
"size":"330000", | ||
"static_th":"0" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"size":"0", | ||
"mode": "dynamic", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
19 changes: 19 additions & 0 deletions
19
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16x400G/port_config.ini
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,19 @@ | ||
# name lanes speed alias | ||
Ethernet0 0,1,2,3,4,5,6,7 400000 four00GigE0 | ||
Ethernet8 8,9,10,11,12,13,14,15 400000 four00GigE1 | ||
Ethernet16 16,17,18,19,20,21,22,23 400000 four00GigE2 | ||
Ethernet24 24,25,26,27,28,29,30,31 400000 four00GigE2 | ||
Ethernet32 32,33,34,35,36,37,38,39 400000 four00GigE3 | ||
Ethernet40 40,41,42,43,44,45,46,47 400000 four00GigE4 | ||
Ethernet48 48,49,50,51,52,53,54,55 400000 four00GigE5 | ||
Ethernet56 56,57,58,59,60,61,62,63 400000 four00GigE6 | ||
Ethernet64 64,65,66,67,68,69,70,71 400000 four00GigE7 | ||
Ethernet72 72,73,74,75,76,77,78,79 400000 four00GigE8 | ||
Ethernet80 80,81,82,83,84,85,86,87 400000 four00GigE9 | ||
Ethernet88 88,89,90,91,92,93,94,95 400000 four00GigE10 | ||
Ethernet96 96,97,98,99,100,101,102,103 400000 four00GigE11 | ||
Ethernet104 104,105,106,107,108,109,110,111 400000 four00GigE12 | ||
Ethernet112 112,113,114,115,116,117,118,119 400000 four00GigE13 | ||
Ethernet120 120,121,122,123,124,125,126,127 400000 four00GigE14 | ||
Ethernet128 128 10000 tenGigE128 | ||
Ethernet129 129 10000 tenGigE129 |
2 changes: 2 additions & 0 deletions
2
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16x400G/profile.ini
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,2 @@ | ||
switchMacAddress=00:01:02:03:04:05 | ||
apPortListWithCableLen=000:1 008:1 016:1 024:1 032:1 040:1 048:1 056:1 064:1 072:1 080:1 088:1 096:1 104:1 112:1 120:1 |
3 changes: 3 additions & 0 deletions
3
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON16x400G/sai.profile
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,3 @@ | ||
mode=1 | ||
hwId=FALCON16x400G | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/profile.ini |
36 changes: 36 additions & 0 deletions
36
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON32X25G/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,36 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "11500000", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_pool": { | ||
"size": "11500000", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"3" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"mode": "static", | ||
"size":"170000", | ||
"static_th":"0" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"size":"0", | ||
"mode": "dynamic", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
36 changes: 36 additions & 0 deletions
36
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON32X25G/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,36 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "11500000", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_pool": { | ||
"size": "11500000", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|ingress_lossless_pool]", | ||
"size":"0", | ||
"dynamic_th":"3" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"mode": "static", | ||
"size":"170000", | ||
"static_th":"0" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_pool]", | ||
"size":"0", | ||
"mode": "dynamic", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
35 changes: 35 additions & 0 deletions
35
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON32X25G/port_config.ini
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,35 @@ | ||
# name lanes speed alias | ||
Ethernet0 0 25000 twenty5GigE0 | ||
Ethernet1 1 25000 twenty5GigE1 | ||
Ethernet2 2 25000 twenty5GigE2 | ||
Ethernet3 3 25000 twenty5GigE3 | ||
Ethernet4 4 25000 twenty5GigE4 | ||
Ethernet5 5 25000 twenty5GigE5 | ||
Ethernet6 6 25000 twenty5GigE6 | ||
Ethernet7 7 25000 twenty5GigE7 | ||
Ethernet8 8 25000 twenty5GigE8 | ||
Ethernet9 9 25000 twenty5GigE9 | ||
Ethernet10 10 25000 twenty5GigE10 | ||
Ethernet11 11 25000 twenty5GigE11 | ||
Ethernet12 12 25000 twenty5GigE12 | ||
Ethernet13 13 25000 twenty5GigE13 | ||
Ethernet14 14 25000 twenty5GigE14 | ||
Ethernet15 15 25000 twenty5GigE15 | ||
Ethernet16 16 25000 twenty5GigE16 | ||
Ethernet17 17 25000 twenty5GigE17 | ||
Ethernet18 18 25000 twenty5GigE18 | ||
Ethernet19 19 25000 twenty5GigE19 | ||
Ethernet20 20 25000 twenty5GigE20 | ||
Ethernet21 21 25000 twenty5GigE21 | ||
Ethernet22 22 25000 twenty5GigE22 | ||
Ethernet23 23 25000 twenty5GigE23 | ||
Ethernet24 24 25000 twenty5GigE24 | ||
Ethernet25 25 25000 twenty5GigE25 | ||
Ethernet26 26 25000 twenty5GigE26 | ||
Ethernet27 27 25000 twenty5GigE27 | ||
Ethernet28 28 25000 twenty5GigE28 | ||
Ethernet29 29 25000 twenty5GigE29 | ||
Ethernet30 30 25000 twenty5GigE30 | ||
Ethernet31 31 25000 twenty5GigE31 | ||
Ethernet32 32 10000 tenGigE32 | ||
Ethernet33 33 10000 tenGigE33 |
2 changes: 2 additions & 0 deletions
2
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON32X25G/profile.ini
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,2 @@ | ||
switchMacAddress=00:01:02:03:04:05 | ||
apPortListWithCableLen=000:1 001:1 002:1 003:1 004:1 005:1 006:1 007:1 008:1 009:1 010:1 011:1 012:1 013:1 014:1 015:1 016:1 017:1 018:1 019:1 020:1 021:1 022:1 023:1 024:1 025:1 026:1 027:1 028:1 029:1 030:1 031:1 |
3 changes: 3 additions & 0 deletions
3
device/marvell/arm64-marvell_db98cx8580_16cd-r0/FALCON32X25G/sai.profile
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,3 @@ | ||
mode=1 | ||
hwId=FALCON32x25G64 | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/profile.ini |
1 change: 1 addition & 0 deletions
1
device/marvell/arm64-marvell_db98cx8580_16cd-r0/db98cx8580_16cd/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 @@ | ||
{%- include 'buffers_config.j2' %} |
Oops, something went wrong.