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 support for SN4600 system #2

Closed
wants to merge 1 commit into from
Closed
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
6 changes: 4 additions & 2 deletions device/mellanox/x86_64-mlnx_msn2700-r0/plugins/sfputil.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@

# magic code defnition for port number, qsfp port position of each platform
# port_position_tuple = (PORT_START, QSFP_PORT_START, PORT_END, PORT_IN_BLOCK, EEPROM_OFFSET)
platform_dict = {'x86_64-mlnx_msn2700-r0': 0, 'x86_64-mlnx_msn2740-r0': 0, 'x86_64-mlnx_msn2100-r0': 1, 'x86_64-mlnx_msn2410-r0': 2, 'x86_64-mlnx_msn2010-r0': 3,
'x86_64-mlnx_msn3420-r0': 5, 'x86_64-mlnx_msn3700-r0': 0, 'x86_64-mlnx_msn3700c-r0': 0, 'x86_64-mlnx_msn3800-r0': 4, 'x86_64-mlnx_msn4600c': 4, 'x86_64-mlnx_msn4700-r0': 0}
platform_dict = {'x86_64-mlnx_msn2700-r0': 0, 'x86_64-mlnx_msn2740-r0': 0, 'x86_64-mlnx_msn2100-r0': 1,
'x86_64-mlnx_msn2410-r0': 2, 'x86_64-mlnx_msn2010-r0': 3, 'x86_64-mlnx_msn3420-r0': 5,
'x86_64-mlnx_msn3700-r0': 0, 'x86_64-mlnx_msn3700c-r0': 0, 'x86_64-mlnx_msn3800-r0': 4,
'x86_64-mlnx_msn4600-r0': 4, 'x86_64-mlnx_msn4600c': 4, 'x86_64-mlnx_msn4700-r0': 0}
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)]

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