Skip to content

Commit dd3758b

Browse files
andriymoroz-mlnxtiantianlv
authored andcommitted
[devices]: Add support of HwSKU Mellanox-SN2700-C28D8 (sonic-net#2700)
Signed-off-by: Andriy Moroz <[email protected]>
1 parent 203ae39 commit dd3758b

File tree

8 files changed

+293
-0
lines changed

8 files changed

+293
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../ACS-MSN2700/buffers.json.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../ACS-MSN2700/buffers_defaults_t0.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../ACS-MSN2700/buffers_defaults_t1.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../ACS-MSN2700/pg_profile_lookup.ini
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# name lanes speed alias index
2+
Ethernet0 0,1,2,3 100000 etp1 1
3+
Ethernet4 4,5,6,7 100000 etp2 2
4+
Ethernet8 8,9,10,11 100000 etp3 3
5+
Ethernet12 12,13,14,15 100000 etp4 4
6+
Ethernet16 16,17,18,19 100000 etp5 5
7+
Ethernet20 20,21,22,23 100000 etp6 6
8+
Ethernet24 24,25,26,27 100000 etp7 7
9+
Ethernet28 28,29,30,31 100000 etp8 8
10+
Ethernet32 32,33,34,35 100000 etp9 9
11+
Ethernet36 36,37,38,39 100000 etp10 10
12+
Ethernet40 40,41,42,43 100000 etp11 11
13+
Ethernet44 44,45,46,47 100000 etp12 12
14+
Ethernet48 48,49,50,51 100000 etp13 13
15+
Ethernet52 52,53,54,55 100000 etp14 14
16+
Ethernet56 56,57,58,59 100000 etp15 15
17+
Ethernet60 60,61,62,63 100000 etp16 16
18+
Ethernet64 64,65,66,67 100000 etp17 17
19+
Ethernet68 68,69,70,71 100000 etp18 18
20+
Ethernet72 72,73,74,75 100000 etp19 19
21+
Ethernet76 76,77,78,79 100000 etp20 20
22+
Ethernet80 80,81,82,83 100000 etp21 21
23+
Ethernet84 84,85,86,87 100000 etp22 22
24+
Ethernet88 88,89,90,91 100000 etp23 23
25+
Ethernet92 92,93,94,95 100000 etp24 24
26+
Ethernet96 96,97,98,99 100000 etp25 25
27+
Ethernet100 100,101,102,103 100000 etp26 26
28+
Ethernet104 104,105,106,107 100000 etp27 27
29+
Ethernet108 108,109,110,111 100000 etp28 28
30+
Ethernet112 112,113 50000 etp29a 29
31+
Ethernet114 114,115 50000 etp29b 29
32+
Ethernet116 116,117 50000 etp30a 30
33+
Ethernet118 118,119 50000 etp30b 30
34+
Ethernet120 120,121 50000 etp31a 31
35+
Ethernet122 122,123 50000 etp31b 31
36+
Ethernet124 124,125 50000 etp32a 32
37+
Ethernet126 126,127 50000 etp32b 32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../ACS-MSN2700/qos.json.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x50g_28x100g.xml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
<?xml version="1.0"?>
2+
<root>
3+
<platform_info type="2700">
4+
5+
<!-- Device MAC address -->
6+
<device-mac-address>00:02:03:04:05:00</device-mac-address>
7+
8+
<!-- ISSU enabled -->
9+
<issu-enabled>1</issu-enabled>
10+
11+
<!-- Number of ports in the following port list -->
12+
<number-of-physical-ports>32</number-of-physical-ports>
13+
14+
<!-- List of ports in the device -->
15+
<ports-list>
16+
<port-info>
17+
<local-port>1</local-port>
18+
<width>4</width>
19+
<module>16</module>
20+
21+
<!-- 0 none, 1=2, 2=4, 3=2,4 -->
22+
<breakout-modes>3</breakout-modes>
23+
24+
<!-- (BITMASK) 4096 - 10Gb , 939524096 - 25Gb , 98368 - 40Gb , 3221225472 - 50Gb , 11534336 - 100Gb-->
25+
<port-speed>11534336</port-speed>
26+
</port-info>
27+
<port-info>
28+
<local-port>3</local-port>
29+
<width>4</width>
30+
<module>17</module>
31+
<breakout-modes>1</breakout-modes>
32+
<port-speed>11534336</port-speed>
33+
</port-info>
34+
<port-info>
35+
<local-port>5</local-port>
36+
<width>4</width>
37+
<module>18</module>
38+
<breakout-modes>3</breakout-modes>
39+
<port-speed>11534336</port-speed>
40+
</port-info>
41+
<port-info>
42+
<local-port>7</local-port>
43+
<width>4</width>
44+
<module>19</module>
45+
<breakout-modes>1</breakout-modes>
46+
<port-speed>11534336</port-speed>
47+
</port-info>
48+
<port-info>
49+
<local-port>9</local-port>
50+
<width>4</width>
51+
<module>20</module>
52+
<breakout-modes>3</breakout-modes>
53+
<port-speed>11534336</port-speed>
54+
</port-info>
55+
<port-info>
56+
<local-port>11</local-port>
57+
<width>4</width>
58+
<module>21</module>
59+
<breakout-modes>1</breakout-modes>
60+
<port-speed>11534336</port-speed>
61+
</port-info>
62+
<port-info>
63+
<local-port>13</local-port>
64+
<width>4</width>
65+
<module>22</module>
66+
<breakout-modes>3</breakout-modes>
67+
<port-speed>11534336</port-speed>
68+
</port-info>
69+
<port-info>
70+
<local-port>15</local-port>
71+
<width>4</width>
72+
<module>23</module>
73+
<breakout-modes>1</breakout-modes>
74+
<port-speed>11534336</port-speed>
75+
</port-info>
76+
<port-info>
77+
<local-port>17</local-port>
78+
<width>4</width>
79+
<module>24</module>
80+
<breakout-modes>3</breakout-modes>
81+
<port-speed>11534336</port-speed>
82+
</port-info>
83+
<port-info>
84+
<local-port>19</local-port>
85+
<width>4</width>
86+
<module>25</module>
87+
<breakout-modes>1</breakout-modes>
88+
<port-speed>11534336</port-speed>
89+
</port-info>
90+
<port-info>
91+
<local-port>21</local-port>
92+
<width>4</width>
93+
<module>26</module>
94+
<breakout-modes>3</breakout-modes>
95+
<port-speed>11534336</port-speed>
96+
</port-info>
97+
<port-info>
98+
<local-port>23</local-port>
99+
<width>4</width>
100+
<module>27</module>
101+
<breakout-modes>1</breakout-modes>
102+
<port-speed>11534336</port-speed>
103+
</port-info>
104+
<port-info>
105+
<local-port>25</local-port>
106+
<width>4</width>
107+
<module>28</module>
108+
<breakout-modes>3</breakout-modes>
109+
<port-speed>3221225472</port-speed>
110+
<split>2</split>
111+
</port-info>
112+
<port-info>
113+
<local-port>27</local-port>
114+
<width>4</width>
115+
<module>29</module>
116+
<breakout-modes>1</breakout-modes>
117+
<port-speed>3221225472</port-speed>
118+
<split>2</split>
119+
</port-info>
120+
<port-info>
121+
<local-port>29</local-port>
122+
<width>4</width>
123+
<module>30</module>
124+
<breakout-modes>3</breakout-modes>
125+
<port-speed>3221225472</port-speed>
126+
<split>2</split>
127+
</port-info>
128+
<port-info>
129+
<local-port>31</local-port>
130+
<width>4</width>
131+
<module>31</module>
132+
<breakout-modes>1</breakout-modes>
133+
<port-speed>3221225472</port-speed>
134+
<split>2</split>
135+
</port-info>
136+
<port-info>
137+
<local-port>33</local-port>
138+
<width>4</width>
139+
<module>14</module>
140+
<breakout-modes>3</breakout-modes>
141+
<port-speed>11534336</port-speed>
142+
</port-info>
143+
<port-info>
144+
<local-port>35</local-port>
145+
<width>4</width>
146+
<module>15</module>
147+
<breakout-modes>1</breakout-modes>
148+
<port-speed>11534336</port-speed>
149+
</port-info>
150+
<port-info>
151+
<local-port>37</local-port>
152+
<width>4</width>
153+
<module>12</module>
154+
<breakout-modes>3</breakout-modes>
155+
<port-speed>11534336</port-speed>
156+
</port-info>
157+
<port-info>
158+
<local-port>39</local-port>
159+
<width>4</width>
160+
<module>13</module>
161+
<breakout-modes>1</breakout-modes>
162+
<port-speed>11534336</port-speed>
163+
</port-info>
164+
<port-info>
165+
<local-port>41</local-port>
166+
<width>4</width>
167+
<module>10</module>
168+
<breakout-modes>3</breakout-modes>
169+
<port-speed>11534336</port-speed>
170+
</port-info>
171+
<port-info>
172+
<local-port>43</local-port>
173+
<width>4</width>
174+
<module>11</module>
175+
<breakout-modes>1</breakout-modes>
176+
<port-speed>11534336</port-speed>
177+
</port-info>
178+
<port-info>
179+
<local-port>45</local-port>
180+
<width>4</width>
181+
<module>8</module>
182+
<breakout-modes>3</breakout-modes>
183+
<port-speed>11534336</port-speed>
184+
</port-info>
185+
<port-info>
186+
<local-port>47</local-port>
187+
<width>4</width>
188+
<module>9</module>
189+
<breakout-modes>1</breakout-modes>
190+
<port-speed>11534336</port-speed>
191+
</port-info>
192+
<port-info>
193+
<local-port>49</local-port>
194+
<width>4</width>
195+
<module>6</module>
196+
<breakout-modes>3</breakout-modes>
197+
<port-speed>11534336</port-speed>
198+
</port-info>
199+
<port-info>
200+
<local-port>51</local-port>
201+
<width>4</width>
202+
<module>7</module>
203+
<breakout-modes>1</breakout-modes>
204+
<port-speed>11534336</port-speed>
205+
</port-info>
206+
<port-info>
207+
<local-port>53</local-port>
208+
<width>4</width>
209+
<module>4</module>
210+
<breakout-modes>3</breakout-modes>
211+
<port-speed>11534336</port-speed>
212+
</port-info>
213+
<port-info>
214+
<local-port>55</local-port>
215+
<width>4</width>
216+
<module>5</module>
217+
<breakout-modes>1</breakout-modes>
218+
<port-speed>11534336</port-speed>
219+
</port-info>
220+
<port-info>
221+
<local-port>57</local-port>
222+
<width>4</width>
223+
<module>2</module>
224+
<breakout-modes>3</breakout-modes>
225+
<port-speed>11534336</port-speed>
226+
</port-info>
227+
<port-info>
228+
<local-port>59</local-port>
229+
<width>4</width>
230+
<module>3</module>
231+
<breakout-modes>1</breakout-modes>
232+
<port-speed>11534336</port-speed>
233+
</port-info>
234+
<port-info>
235+
<local-port>61</local-port>
236+
<width>4</width>
237+
<module>0</module>
238+
<breakout-modes>3</breakout-modes>
239+
<port-speed>11534336</port-speed>
240+
</port-info>
241+
<port-info>
242+
<local-port>63</local-port>
243+
<width>4</width>
244+
<module>1</module>
245+
<breakout-modes>1</breakout-modes>
246+
<port-speed>11534336</port-speed>
247+
</port-info>
248+
</ports-list>
249+
</platform_info>
250+
</root>

0 commit comments

Comments
 (0)