Skip to content

Commit 17e6b8a

Browse files
srideepDellrlhui
authored andcommitted
[device] DellEMC s5232f 50G hwsku support (#4525)
* [device] DellEmc S5232 support for new hwsku C8D48 8 100G ports and 48 50G ports * 10G ports update for S5232 hwsku-C8D48 Signed-off-by: Srideep Devireddy <[email protected]>
1 parent 95349d2 commit 17e6b8a

File tree

11 files changed

+728
-0
lines changed

11 files changed

+728
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{%- set default_topo = 't1' %}
2+
{%- include 'buffers_config.j2' %}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
{%- set default_cable = '40m' %}
3+
4+
{%- macro generate_buffer_pool_and_profiles() %}
5+
"BUFFER_POOL": {
6+
"ingress_lossless_pool": {
7+
"size": "28550336",
8+
"type": "ingress",
9+
"mode": "dynamic",
10+
"xoff": "4194112"
11+
},
12+
"egress_pool": {
13+
"size": "28550336",
14+
"type": "egress",
15+
"mode": "static"
16+
}
17+
},
18+
"BUFFER_PROFILE": {
19+
"ingress_lossy_profile": {
20+
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
21+
"size":"0",
22+
"dynamic_th":"3"
23+
},
24+
"egress_lossless_profile": {
25+
"pool":"[BUFFER_POOL|egress_pool]",
26+
"size":"0",
27+
"mode": "static",
28+
"static_th":"32744448"
29+
},
30+
"egress_lossy_profile": {
31+
"pool":"[BUFFER_POOL|egress_pool]",
32+
"size":"0",
33+
"mode": "dynamic",
34+
"dynamic_th":"3"
35+
}
36+
},
37+
{%- endmacro %}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
{%- set default_cable = '40m' %}
3+
4+
{%- macro generate_buffer_pool_and_profiles() %}
5+
"BUFFER_POOL": {
6+
"ingress_lossless_pool": {
7+
"size": "28550336",
8+
"type": "ingress",
9+
"mode": "dynamic",
10+
"xoff": "4194112"
11+
},
12+
"egress_pool": {
13+
"size": "28550336",
14+
"type": "egress",
15+
"mode": "static"
16+
}
17+
},
18+
"BUFFER_PROFILE": {
19+
"ingress_lossy_profile": {
20+
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
21+
"size":"0",
22+
"dynamic_th":"3"
23+
},
24+
"egress_lossless_profile": {
25+
"pool":"[BUFFER_POOL|egress_pool]",
26+
"size":"0",
27+
"mode": "static",
28+
"static_th":"32744448"
29+
},
30+
"egress_lossy_profile": {
31+
"pool":"[BUFFER_POOL|egress_pool]",
32+
"size":"0",
33+
"mode": "dynamic",
34+
"dynamic_th":"3"
35+
}
36+
},
37+
{%- endmacro %}
Binary file not shown.
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 -3 2288
4+
25000 5m 1248 2288 53248 -3 2288
5+
40000 5m 1248 2288 66560 -3 2288
6+
50000 5m 1248 2288 90272 -3 2288
7+
100000 5m 1248 2288 165568 -3 2288
8+
10000 40m 1248 2288 37024 -3 2288
9+
25000 40m 1248 2288 53248 -3 2288
10+
40000 40m 1248 2288 71552 -3 2288
11+
50000 40m 1248 2288 96096 -3 2288
12+
100000 40m 1248 2288 177632 -3 2288
13+
10000 300m 1248 2288 46176 -3 2288
14+
25000 300m 1248 2288 79040 -3 2288
15+
40000 300m 1248 2288 108160 -3 2288
16+
50000 300m 1248 2288 141856 -3 2288
17+
100000 300m 1248 2288 268736 -3 2288
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# name lanes alias index speed
2+
Ethernet0 1,2 fiftyGigE1/1/1 1 50000
3+
Ethernet2 3,4 fiftyGigE1/1/2 1 50000
4+
Ethernet4 5,6 fiftyGigE1/2/1 2 50000
5+
Ethernet6 7,8 fiftyGigE1/2/2 2 50000
6+
Ethernet8 9,10 fiftyGigE1/3/1 3 50000
7+
Ethernet10 11,12 fiftyGigE1/3/2 3 50000
8+
Ethernet12 13,14 fiftyGigE1/4/1 4 50000
9+
Ethernet14 15,16 fiftyGigE1/4/2 4 50000
10+
Ethernet16 17,18 fiftyGigE1/5/1 5 50000
11+
Ethernet18 19,20 fiftyGigE1/5/2 5 50000
12+
Ethernet20 21,22 fiftyGigE1/6/1 6 50000
13+
Ethernet22 23,24 fiftyGigE1/6/2 6 50000
14+
Ethernet24 25,26,27,28 hundredGigE1/7 7 100000
15+
Ethernet28 29,30,31,32 hundredGigE1/8 8 100000
16+
Ethernet32 33,34,35,36 hundredGigE1/9 9 100000
17+
Ethernet36 37,38,39,40 hundredGigE1/10 10 100000
18+
Ethernet40 41,42 fiftyGigE1/11/1 11 50000
19+
Ethernet42 43,44 fiftyGigE1/11/2 11 50000
20+
Ethernet44 45,46 fiftyGigE1/12/1 12 50000
21+
Ethernet46 47,48 fiftyGigE1/12/2 12 50000
22+
Ethernet48 49,50 fiftyGigE1/13/1 13 50000
23+
Ethernet50 51,52 fiftyGigE1/13/2 13 50000
24+
Ethernet52 53,54 fiftyGigE1/14/1 14 50000
25+
Ethernet54 55,56 fiftyGigE1/14/2 14 50000
26+
Ethernet56 57,58 fiftyGigE1/15/1 15 50000
27+
Ethernet58 59,60 fiftyGigE1/15/2 15 50000
28+
Ethernet60 61,62 fiftyGigE1/16/1 16 50000
29+
Ethernet62 63,64 fiftyGigE1/16/2 16 50000
30+
Ethernet64 65,66 fiftyGigE1/17/1 17 50000
31+
Ethernet66 67,68 fiftyGigE1/17/2 17 50000
32+
Ethernet68 69,70 fiftyGigE1/18/1 18 50000
33+
Ethernet70 71,72 fiftyGigE1/18/2 18 50000
34+
Ethernet72 73,74 fiftyGigE1/19/1 19 50000
35+
Ethernet74 75,76 fiftyGigE1/19/2 19 50000
36+
Ethernet76 77,78 fiftyGigE1/20/1 20 50000
37+
Ethernet78 79,80 fiftyGigE1/20/2 20 50000
38+
Ethernet80 81,82 fiftyGigE1/21/1 21 50000
39+
Ethernet82 83,84 fiftyGigE1/21/2 21 50000
40+
Ethernet84 85,86 fiftyGigE1/22/1 22 50000
41+
Ethernet86 87,88 fiftyGigE1/22/2 22 50000
42+
Ethernet88 89,90 fiftyGigE1/23/1 23 50000
43+
Ethernet90 91,92 fiftyGigE1/23/2 23 50000
44+
Ethernet92 93,94 fiftyGigE1/24/1 24 50000
45+
Ethernet94 95,96 fiftyGigE1/24/2 24 50000
46+
Ethernet96 97,98 fiftyGigE1/25/1 25 50000
47+
Ethernet98 99,100 fiftyGigE1/25/2 25 50000
48+
Ethernet100 101,102 fiftyGigE1/26/1 26 50000
49+
Ethernet102 103,104 fiftyGigE1/26/2 26 50000
50+
Ethernet104 105,106,107,108 hundredGigE1/27 27 100000
51+
Ethernet108 109,110,111,112 hundredGigE1/28 28 100000
52+
Ethernet112 113,114,115,116 hundredGigE1/29 29 100000
53+
Ethernet116 117,118,119,120 hundredGigE1/30 30 100000
54+
Ethernet120 121,122 fiftyGigE1/31/1 31 50000
55+
Ethernet122 123,124 fiftyGigE1/31/2 31 50000
56+
Ethernet124 125,126 fiftyGigE1/32/1 32 50000
57+
Ethernet126 127,128 fiftyGigE1/32/2 32 50000
58+
Ethernet128 129 tenGigE1/33 33 10000
59+
Ethernet129 128 tenGigE1/34 34 10000
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{%- include 'qos_config.j2' %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td3-s5232f-8x100G+48x50G.config.bcm
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
m0 load 0 0x0 /usr/share/sonic/hwsku/linkscan_led_fw.bin
2+
m0 load 0 0x3800 /usr/share/sonic/hwsku/custom_led.bin

0 commit comments

Comments
 (0)