-
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.
[Arista] Add DPB for 7060CX-32S (#7413)
#### Why I did it - To start support of dynamic port breakout as the norm for Arista platforms. - Add a DPB hwsku for the 7060CX-32S #### How I did it - Expand platform.json for the 7060CX-32S - Added a new hwsku specifically for DPB - Added a flex Broadcom configuration Co-authored-by: Zhi Yuan Carl Zhao <zyzhao@arista.com>
- Loading branch information
Showing
9 changed files
with
1,157 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
device/arista/x86_64-arista_7060_cx32s/Arista-7060CX-32S/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,2 @@ | ||
{%- set default_topo = 't0' %} | ||
{%- include 'buffers_config.j2' %} |
47 changes: 47 additions & 0 deletions
47
device/arista/x86_64-arista_7060_cx32s/Arista-7060CX-32S/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 @@ | ||
|
||
{%- set default_cable = '5m' %} | ||
|
||
{%- macro generate_port_lists(PORT_ALL) %} | ||
{# Generate list of ports #} | ||
{%- for port_idx in range(0,128,4) %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %} | ||
{%- endfor %} | ||
{%- endmacro %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "10875072", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "4194112" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "9243812", | ||
"type": "egress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_lossless_pool": { | ||
"size": "15982720", | ||
"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_lossless_pool]", | ||
"size":"1518", | ||
"static_th":"15982720" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossy_pool]", | ||
"size":"1518", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
106 changes: 106 additions & 0 deletions
106
device/arista/x86_64-arista_7060_cx32s/Arista-7060CX-32S/hwsku.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,106 @@ | ||
{ | ||
"interfaces": { | ||
"Ethernet0": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet4": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet8": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet12": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet16": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet20": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet24": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet28": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet32": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet36": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet40": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet44": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet48": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet52": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet56": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet60": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet64": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet68": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet72": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet76": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet80": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet84": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet88": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet92": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet96": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet100": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet104": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet108": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet112": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet116": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet120": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet124": { | ||
"default_brkout_mode": "1x100G[50G,40G,25G,10G]" | ||
}, | ||
"Ethernet125": { | ||
"default_brkout_mode": "1x10G" | ||
}, | ||
"Ethernet126": { | ||
"default_brkout_mode": "1x10G" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
device/arista/x86_64-arista_7060_cx32s/Arista-7060CX-32S/pg_profile_lookup.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,17 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold xon_offset | ||
10000 5m 1248 2288 35776 0 2288 | ||
25000 5m 1248 2288 53248 0 2288 | ||
40000 5m 1248 2288 66560 0 2288 | ||
50000 5m 1248 2288 90272 0 2288 | ||
100000 5m 1248 2288 165568 0 2288 | ||
10000 40m 1248 2288 37024 0 2288 | ||
25000 40m 1248 2288 53248 0 2288 | ||
40000 40m 1248 2288 71552 0 2288 | ||
50000 40m 1248 2288 96096 0 2288 | ||
100000 40m 1248 2288 177632 0 2288 | ||
10000 300m 1248 2288 46176 0 2288 | ||
25000 300m 1248 2288 79040 0 2288 | ||
40000 300m 1248 2288 108160 0 2288 | ||
50000 300m 1248 2288 141856 0 2288 | ||
100000 300m 1248 2288 268736 0 2288 |
35 changes: 35 additions & 0 deletions
35
device/arista/x86_64-arista_7060_cx32s/Arista-7060CX-32S/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 alias index | ||
Ethernet0 33,34,35,36 Ethernet1/1 1 | ||
Ethernet4 37,38,39,40 Ethernet2/1 2 | ||
Ethernet8 41,42,43,44 Ethernet3/1 3 | ||
Ethernet12 45,46,47,48 Ethernet4/1 4 | ||
Ethernet16 49,50,51,52 Ethernet5/1 5 | ||
Ethernet20 53,54,55,56 Ethernet6/1 6 | ||
Ethernet24 57,58,59,60 Ethernet7/1 7 | ||
Ethernet28 61,62,63,64 Ethernet8/1 8 | ||
Ethernet32 65,66,67,68 Ethernet9/1 9 | ||
Ethernet36 69,70,71,72 Ethernet10/1 10 | ||
Ethernet40 73,74,75,76 Ethernet11/1 11 | ||
Ethernet44 77,78,79,80 Ethernet12/1 12 | ||
Ethernet48 81,82,83,84 Ethernet13/1 13 | ||
Ethernet52 85,86,87,88 Ethernet14/1 14 | ||
Ethernet56 89,90,91,92 Ethernet15/1 15 | ||
Ethernet60 93,94,95,96 Ethernet16/1 16 | ||
Ethernet64 97,98,99,100 Ethernet17/1 17 | ||
Ethernet68 101,102,103,104 Ethernet18/1 18 | ||
Ethernet72 105,106,107,108 Ethernet19/1 19 | ||
Ethernet76 109,110,111,112 Ethernet20/1 20 | ||
Ethernet80 113,114,115,116 Ethernet21/1 21 | ||
Ethernet84 117,118,119,120 Ethernet22/1 22 | ||
Ethernet88 121,122,123,124 Ethernet23/1 23 | ||
Ethernet92 125,126,127,128 Ethernet24/1 24 | ||
Ethernet96 1,2,3,4 Ethernet25/1 25 | ||
Ethernet100 5,6,7,8 Ethernet26/1 26 | ||
Ethernet104 9,10,11,12 Ethernet27/1 27 | ||
Ethernet108 13,14,15,16 Ethernet28/1 28 | ||
Ethernet112 17,18,19,20 Ethernet29/1 29 | ||
Ethernet116 21,22,23,24 Ethernet30/1 30 | ||
Ethernet120 25,26,27,28 Ethernet31/1 31 | ||
Ethernet124 29,30,31,32 Ethernet32/1 32 | ||
Ethernet125 129 Ethernet33 33 | ||
Ethernet126 131 Ethernet34 34 |
21 changes: 21 additions & 0 deletions
21
device/arista/x86_64-arista_7060_cx32s/Arista-7060CX-32S/qos.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,21 @@ | ||
{%- macro generate_wred_profiles() %} | ||
"WRED_PROFILE": { | ||
"AZURE_LOSSLESS" : { | ||
"wred_green_enable" : "true", | ||
"wred_yellow_enable" : "true", | ||
"wred_red_enable" : "true", | ||
"ecn" : "ecn_all", | ||
"green_max_threshold" : "2097152", | ||
"green_min_threshold" : "250000", | ||
"yellow_max_threshold" : "2097152", | ||
"yellow_min_threshold" : "1048576", | ||
"red_max_threshold" : "2097152", | ||
"red_min_threshold" : "1048576", | ||
"green_drop_probability" : "5", | ||
"yellow_drop_probability": "5", | ||
"red_drop_probability" : "5" | ||
} | ||
}, | ||
{%- endmacro %} | ||
|
||
{%- include 'qos_config.j2' %} |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7060_cx32s/Arista-7060CX-32S/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 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/platform/th-a7060-cx32s-flex-all.config.bcm |
Oops, something went wrong.