Skip to content

Commit a654518

Browse files
authored
[Arista] Driver and platform update (#6468) (#6872)
- Add support for `DCS-7050SX3-48YC8` and `DCS-7050SX3-48C8` platform - Add support for more variants of `DCS-7280CR3-32[PD]4` - Add Supervisor to Linecard consutil support - Complete Watchdog platform API support - Fix some PSU behavior on `DCS-7050QX-32` and `DCS-7060CX-32S` - Fix SEU management on `DCS-7060CX-32S` - Allow kernel modules to build up to linux 5.10 - Rename led color `orange` to `amber` - Miscellaneous fixes
1 parent 038c6aa commit a654518

33 files changed

+681
-30
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
x86_64-arista_7050sx3_48yc8
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{%- set default_topo = 't0' %}
2+
{%- include 'buffers_config.j2' %}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{%- set default_cable = '5m' %}
2+
3+
{%- macro generate_port_lists(PORT_ALL) %}
4+
{# Generate list of ports #}
5+
{%- for port_idx in range(0,28) %}
6+
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
7+
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{%- endif %}
8+
{%- endfor %}
9+
{%- for port_idx in range(28,32) %}
10+
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
11+
{%- endfor %}
12+
{%- endmacro %}
13+
14+
{%- macro generate_buffer_pool_and_profiles() %}
15+
"BUFFER_POOL": {
16+
"ingress_lossless_pool": {
17+
"size": "10875072",
18+
"type": "ingress",
19+
"mode": "dynamic",
20+
"xoff": "4194112"
21+
},
22+
"egress_lossy_pool": {
23+
"size": "9243812",
24+
"type": "egress",
25+
"mode": "dynamic"
26+
},
27+
"egress_lossless_pool": {
28+
"size": "15982720",
29+
"type": "egress",
30+
"mode": "static"
31+
}
32+
},
33+
"BUFFER_PROFILE": {
34+
"ingress_lossy_profile": {
35+
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
36+
"size":"0",
37+
"dynamic_th":"3"
38+
},
39+
"egress_lossless_profile": {
40+
"pool":"[BUFFER_POOL|egress_lossless_pool]",
41+
"size":"1518",
42+
"static_th":"15982720"
43+
},
44+
"egress_lossy_profile": {
45+
"pool":"[BUFFER_POOL|egress_lossy_pool]",
46+
"size":"1518",
47+
"dynamic_th":"3"
48+
}
49+
},
50+
{%- endmacro %}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# PG lossless profiles.
2+
# speed cable size xon xoff threshold xon_offset
3+
10000 5m 1248 2288 35776 0 2288
4+
25000 5m 1248 2288 53248 0 2288
5+
40000 5m 1248 2288 66560 0 2288
6+
50000 5m 1248 2288 79872 0 2288
7+
100000 5m 1248 2288 165568 0 2288
8+
10000 40m 1248 2288 37024 0 2288
9+
25000 40m 1248 2288 56160 0 2288
10+
40000 40m 1248 2288 71552 0 2288
11+
50000 40m 1248 2288 85696 0 2288
12+
100000 40m 1248 2288 177632 0 2288
13+
10000 300m 1248 2288 46176 0 2288
14+
25000 300m 1248 2288 79040 0 2288
15+
40000 300m 1248 2288 108160 0 2288
16+
50000 300m 1248 2288 141856 0 2288
17+
100000 300m 1248 2288 268736 0 2288
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# name lanes alias index speed
2+
Ethernet0 1,2 Ethernet1/1 1 25000
3+
Ethernet2 3,4 Ethernet1/3 1 25000
4+
Ethernet4 5,6 Ethernet2/1 2 25000
5+
Ethernet6 7,8 Ethernet2/3 2 25000
6+
Ethernet8 9,10 Ethernet3/1 3 25000
7+
Ethernet10 11,12 Ethernet3/3 3 25000
8+
Ethernet12 13,14 Ethernet4/1 4 25000
9+
Ethernet14 15,16 Ethernet4/3 4 25000
10+
Ethernet16 21,22 Ethernet5/1 5 25000
11+
Ethernet18 23,24 Ethernet5/3 5 25000
12+
Ethernet20 17,18 Ethernet6/1 6 25000
13+
Ethernet22 19,20 Ethernet6/3 6 25000
14+
Ethernet24 25,26 Ethernet7/1 7 25000
15+
Ethernet26 27,28 Ethernet7/3 7 25000
16+
Ethernet28 29,30 Ethernet8/1 8 25000
17+
Ethernet30 31,32 Ethernet8/3 8 25000
18+
Ethernet32 37,38 Ethernet9/1 9 25000
19+
Ethernet34 39,40 Ethernet9/3 9 25000
20+
Ethernet36 33,34 Ethernet10/1 10 25000
21+
Ethernet38 35,46 Ethernet10/3 10 25000
22+
Ethernet40 41,42 Ethernet11/1 11 25000
23+
Ethernet42 43,44 Ethernet11/3 11 25000
24+
Ethernet44 45,46 Ethernet12/1 12 25000
25+
Ethernet46 47,48 Ethernet12/3 12 25000
26+
Ethernet48 53,54 Ethernet13/1 13 25000
27+
Ethernet50 55,56 Ethernet13/3 13 25000
28+
Ethernet52 49,50 Ethernet14/1 14 25000
29+
Ethernet54 51,52 Ethernet14/3 14 25000
30+
Ethernet56 57,58 Ethernet15/1 15 25000
31+
Ethernet58 59,60 Ethernet15/3 15 25000
32+
Ethernet60 61,62 Ethernet16/1 16 25000
33+
Ethernet62 63,64 Ethernet16/3 16 25000
34+
Ethernet64 69,70 Ethernet17/1 17 25000
35+
Ethernet66 71,72 Ethernet17/3 17 25000
36+
Ethernet68 65,66 Ethernet18/1 18 25000
37+
Ethernet70 67,68 Ethernet18/3 18 25000
38+
Ethernet72 73,74 Ethernet19/1 19 25000
39+
Ethernet74 75,76 Ethernet19/3 19 25000
40+
Ethernet76 77,78 Ethernet20/1 20 25000
41+
Ethernet78 79,80 Ethernet20/3 20 25000
42+
Ethernet80 85,86 Ethernet21/1 21 25000
43+
Ethernet82 87,88 Ethernet21/3 21 25000
44+
Ethernet84 81,82 Ethernet22/1 22 25000
45+
Ethernet86 83,84 Ethernet22/3 22 25000
46+
Ethernet88 89,90 Ethernet23/1 23 25000
47+
Ethernet88 91,92 Ethernet23/3 23 25000
48+
Ethernet92 93,94 Ethernet24/1 24 25000
49+
Ethernet92 95,96 Ethernet24/3 24 25000
50+
Ethernet96 101,102,103,104 Ethernet25/1 25 100000
51+
Ethernet100 97,98,99,100 Ethernet26/1 26 100000
52+
Ethernet104 105,106,107,108 Ethernet27/1 27 100000
53+
Ethernet108 109,110,111,112 Ethernet28/1 28 100000
54+
Ethernet112 117,118,119,120 Ethernet29/1 29 100000
55+
Ethernet116 113,114,115,116 Ethernet30/1 30 100000
56+
Ethernet120 121,122,123,124 Ethernet31/1 31 100000
57+
Ethernet124 125,126,127,128 Ethernet32/1 32 100000
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "2097152",
9+
"green_min_threshold" : "250000",
10+
"yellow_max_threshold" : "2097152",
11+
"yellow_min_threshold" : "1048576",
12+
"red_max_threshold" : "2097152",
13+
"red_min_threshold" : "1048576",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
21+
{%- include 'qos_config.j2' %}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td3-a7050sx3_48yc8-48x25G+8x100G.config.bcm
2+
SAI_NUM_ECMP_MEMBERS=64

0 commit comments

Comments
 (0)