Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4600c and new SKU ACS-MSN4600C #4483

Merged
merged 2 commits into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion device/mellanox/x86_64-mlnx_msn2700-r0/plugins/sfputil.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

# magic code defnition for port number, qsfp port position of each hwsku
# port_position_tuple = (PORT_START, QSFP_PORT_START, PORT_END, PORT_IN_BLOCK, EEPROM_OFFSET)
hwsku_dict = {'ACS-MSN2700': 0, 'Mellanox-SN2700': 0, 'Mellanox-SN2700-D48C8': 0, "LS-SN2700":0, 'ACS-MSN2740': 0, 'ACS-MSN2100': 1, 'ACS-MSN2410': 2, 'ACS-MSN2010': 3, 'ACS-MSN3700': 0, 'ACS-MSN3700C': 0, 'ACS-MSN3800': 4, 'Mellanox-SN3800-D112C8': 4, 'ACS-MSN4700': 0, 'ACS-MSN3420': 5}
hwsku_dict = {'ACS-MSN2700': 0, 'Mellanox-SN2700': 0, 'Mellanox-SN2700-D48C8': 0, 'LS-SN2700':0, 'ACS-MSN2740': 0, 'ACS-MSN2100': 1, 'ACS-MSN2410': 2, 'ACS-MSN2010': 3, 'ACS-MSN3700': 0, 'ACS-MSN3700C': 0, 'ACS-MSN3800': 4, 'Mellanox-SN3800-D112C8': 4, 'ACS-MSN4700': 0, 'ACS-MSN3420': 5, 'ACS-MSN4600C': 4}
port_position_tuple_list = [(0, 0, 31, 32, 1), (0, 0, 15, 16, 1), (0, 48, 55, 56, 1), (0, 18, 21, 22, 1), (0, 0, 63, 64, 1), (0, 48, 59, 60, 1)]

def log_info(msg, also_print_to_console=False):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# name lanes alias index
Ethernet0 0,1,2,3 etp1 0
Ethernet8 8,9,10,11 etp2 1
Ethernet16 16,17,18,19 etp3 2
Ethernet24 24,25,26,27 etp4 3
Ethernet32 32,33,34,35 etp5 4
Ethernet40 40,41,42,43 etp6 5
Ethernet48 48,49,50,51 etp7 6
Ethernet56 56,57,58,59 etp8 7
Ethernet64 64,65,66,67 etp9 8
Ethernet72 72,73,74,75 etp10 9
Ethernet80 80,81,82,83 etp11 10
Ethernet88 88,89,90,91 etp12 11
Ethernet96 96,97,98,99 etp13 12
Ethernet104 104,105,106,107 etp14 13
Ethernet112 112,113,114,115 etp15 14
Ethernet120 120,121,122,123 etp16 15
Ethernet128 128,129,130,131 etp17 16
Ethernet136 136,137,138,139 etp18 17
Ethernet144 144,145,146,147 etp19 18
Ethernet152 152,153,154,155 etp20 19
Ethernet160 160,161,162,163 etp21 20
Ethernet168 168,169,170,171 etp22 21
Ethernet176 176,177,178,179 etp23 22
Ethernet184 184,185,186,187 etp24 23
Ethernet192 192,193,194,195 etp25 24
Ethernet200 200,201,202,203 etp26 25
Ethernet208 208,209,210,211 etp27 26
Ethernet216 216,217,218,219 etp28 27
Ethernet224 224,225,226,227 etp29 28
Ethernet232 232,233,234,235 etp30 29
Ethernet240 240,241,242,243 etp31 30
Ethernet248 248,249,250,251 etp32 31
Ethernet256 256,257,258,259 etp33 32
Ethernet264 264,265,266,267 etp34 33
Ethernet272 272,273,274,275 etp35 34
Ethernet280 280,281,282,283 etp36 35
Ethernet288 288,289,290,291 etp37 36
Ethernet296 296,297,298,299 etp38 37
Ethernet304 304,305,306,307 etp39 38
Ethernet312 312,313,314,315 etp40 39
Ethernet320 320,321,322,323 etp41 40
Ethernet328 328,329,330,331 etp42 41
Ethernet336 336,337,338,339 etp43 42
Ethernet344 344,345,346,347 etp44 43
Ethernet352 352,353,354,355 etp45 44
Ethernet360 360,361,362,363 etp46 45
Ethernet368 368,369,370,371 etp47 46
Ethernet376 376,377,378,379 etp48 47
Ethernet384 384,385,386,387 etp49 48
Ethernet392 392,393,394,395 etp50 49
Ethernet400 400,401,402,403 etp51 50
Ethernet408 408,409,410,411 etp52 51
Ethernet416 416,417,418,419 etp53 52
Ethernet424 424,425,426,427 etp54 53
Ethernet432 432,433,434,435 etp55 54
Ethernet440 440,441,442,443 etp56 55
Ethernet448 448,449,450,451 etp57 56
Ethernet456 456,457,458,459 etp58 57
Ethernet464 464,465,466,467 etp59 58
Ethernet472 472,473,474,475 etp60 59
Ethernet480 480,481,482,483 etp61 60
Ethernet488 488,489,490,491 etp62 61
Ethernet496 496,497,498,499 etp63 62
Ethernet504 504,505,506,507 etp64 63
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml
Loading