Skip to content

Commit

Permalink
Support dynamic port breakout on AS5835-54X
Browse files Browse the repository at this point in the history
  • Loading branch information
chihhan123 committed Aug 22, 2022
1 parent aed36ef commit 509e3bd
Show file tree
Hide file tree
Showing 4 changed files with 1,035 additions and 55 deletions.
219 changes: 219 additions & 0 deletions device/accton/x86_64-accton_as5835_54x-r0/Accton-AS5835-54X/hwsku.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet1": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet2": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet3": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet4": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet5": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet6": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet7": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet8": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet9": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet10": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet11": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet12": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet13": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet14": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet15": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet16": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet17": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet18": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet19": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet20": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet21": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet22": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet23": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet24": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet25": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet26": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet27": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet28": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet29": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet30": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet31": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet32": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet33": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet34": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet35": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet36": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet37": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet38": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet39": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet40": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet41": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet42": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet43": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet44": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet45": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet46": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet47": {
"default_brkout_mode": "1x10G[1G]"
},

"Ethernet48": {
"default_brkout_mode": "1x100G[40G]"
},

"Ethernet52": {
"default_brkout_mode": "1x100G[40G]"
},

"Ethernet56": {
"default_brkout_mode": "1x100G[40G]"
},

"Ethernet60": {
"default_brkout_mode": "1x100G[40G]"
},

"Ethernet64": {
"default_brkout_mode": "1x100G[40G]"
},

"Ethernet68": {
"default_brkout_mode": "1x100G[40G]"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ phy_chain_tx_polarity_flip_physical{36.0}=0x0

#FC9
dport_map_port_27=49
dport_map_port_28=52
dport_map_port_29=53
dport_map_port_30=54
portmap_27=37:100:4
phy_chain_rx_lane_map_physical{37.0}=0x2130
phy_chain_rx_lane_map_physical{38.0}=0x2130
Expand Down
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
# name lanes alias index speed
Ethernet0 1 tenGigE1 1 10000
Ethernet1 2 tenGigE2 2 10000
Ethernet2 3 tenGigE3 3 10000
Ethernet3 4 tenGigE4 4 10000
Ethernet4 5 tenGigE5 5 10000
Ethernet5 6 tenGigE6 6 10000
Ethernet6 7 tenGigE7 7 10000
Ethernet7 8 tenGigE8 8 10000
Ethernet8 9 tenGigE9 9 10000
Ethernet9 10 tenGigE10 10 10000
Ethernet10 11 tenGigE11 11 10000
Ethernet11 12 tenGigE12 12 10000
Ethernet12 13 tenGigE13 13 10000
Ethernet13 14 tenGigE14 14 10000
Ethernet14 15 tenGigE15 15 10000
Ethernet15 16 tenGigE16 16 10000
Ethernet16 17 tenGigE17 17 10000
Ethernet17 18 tenGigE18 18 10000
Ethernet18 19 tenGigE19 19 10000
Ethernet19 20 tenGigE20 20 10000
Ethernet20 21 tenGigE21 21 10000
Ethernet21 22 tenGigE22 22 10000
Ethernet22 23 tenGigE23 23 10000
Ethernet23 24 tenGigE24 24 10000
Ethernet24 53 tenGigE25 25 10000
Ethernet25 54 tenGigE26 26 10000
Ethernet26 55 tenGigE27 27 10000
Ethernet27 56 tenGigE28 28 10000
Ethernet28 57 tenGigE29 29 10000
Ethernet29 58 tenGigE30 30 10000
Ethernet30 59 tenGigE31 31 10000
Ethernet31 60 tenGigE32 32 10000
Ethernet32 61 tenGigE33 33 10000
Ethernet33 62 tenGigE34 34 10000
Ethernet34 63 tenGigE35 35 10000
Ethernet35 64 tenGigE36 36 10000
Ethernet36 65 tenGigE37 37 10000
Ethernet37 66 tenGigE38 38 10000
Ethernet38 67 tenGigE39 39 10000
Ethernet39 68 tenGigE40 40 10000
Ethernet40 69 tenGigE41 41 10000
Ethernet41 70 tenGigE42 42 10000
Ethernet42 71 tenGigE43 43 10000
Ethernet43 72 tenGigE44 44 10000
Ethernet44 73 tenGigE45 45 10000
Ethernet45 74 tenGigE46 46 10000
Ethernet46 75 tenGigE47 47 10000
Ethernet47 76 tenGigE48 48 10000
Ethernet48 37,38,39,40 hundredGigE49 49 100000
Ethernet52 29,30,31,32 hundredGigE50 50 100000
Ethernet56 33,34,35,36 hundredGigE51 51 100000
Ethernet60 49,50,51,52 hundredGigE52 52 100000
Ethernet64 45,46,47,48 hundredGigE53 53 100000
Ethernet68 41,42,43,44 hundredGigE54 54 100000
# name lanes alias index speed
Ethernet0 1 Eth1(Port1) 1 10000
Ethernet1 2 Eth2(Port2) 2 10000
Ethernet2 3 Eth3(Port3) 3 10000
Ethernet3 4 Eth4(Port4) 4 10000
Ethernet4 5 Eth5(Port5) 5 10000
Ethernet5 6 Eth6(Port6) 6 10000
Ethernet6 7 Eth7(Port7) 7 10000
Ethernet7 8 Eth8(Port8) 8 10000
Ethernet8 9 Eth9(Port9) 9 10000
Ethernet9 10 Eth10(Port10) 10 10000
Ethernet10 11 Eth11(Port11) 11 10000
Ethernet11 12 Eth12(Port12) 12 10000
Ethernet12 13 Eth13(Port13) 13 10000
Ethernet13 14 Eth14(Port14) 14 10000
Ethernet14 15 Eth15(Port15) 15 10000
Ethernet15 16 Eth16(Port16) 16 10000
Ethernet16 17 Eth17(Port17) 17 10000
Ethernet17 18 Eth18(Port18) 18 10000
Ethernet18 19 Eth19(Port19) 19 10000
Ethernet19 20 Eth20(Port20) 20 10000
Ethernet20 21 Eth21(Port21) 21 10000
Ethernet21 22 Eth22(Port22) 22 10000
Ethernet22 23 Eth23(Port23) 23 10000
Ethernet23 24 Eth24(Port24) 24 10000
Ethernet24 53 Eth25(Port25) 25 10000
Ethernet25 54 Eth26(Port26) 26 10000
Ethernet26 55 Eth27(Port27) 27 10000
Ethernet27 56 Eth28(Port28) 28 10000
Ethernet28 57 Eth29(Port29) 29 10000
Ethernet29 58 Eth30(Port30) 30 10000
Ethernet30 59 Eth31(Port31) 31 10000
Ethernet31 60 Eth32(Port32) 32 10000
Ethernet32 61 Eth33(Port33) 33 10000
Ethernet33 62 Eth34(Port34) 34 10000
Ethernet34 63 Eth35(Port35) 35 10000
Ethernet35 64 Eth36(Port36) 36 10000
Ethernet36 65 Eth37(Port37) 37 10000
Ethernet37 66 Eth38(Port38) 38 10000
Ethernet38 67 Eth39(Port39) 39 10000
Ethernet39 68 Eth40(Port40) 40 10000
Ethernet40 69 Eth41(Port41) 41 10000
Ethernet41 70 Eth42(Port42) 42 10000
Ethernet42 71 Eth43(Port43) 43 10000
Ethernet43 72 Eth44(Port44) 44 10000
Ethernet44 73 Eth45(Port45) 45 10000
Ethernet45 74 Eth46(Port46) 46 10000
Ethernet46 75 Eth47(Port47) 47 10000
Ethernet47 76 Eth48(Port48) 48 10000
Ethernet48 37,38,39,40 Eth49(Port49) 49 100000
Ethernet52 29,30,31,32 Eth50(Port50) 50 100000
Ethernet56 33,34,35,36 Eth51(Port51) 51 100000
Ethernet60 49,50,51,52 Eth52(Port52) 52 100000
Ethernet64 45,46,47,48 Eth53(Port53) 53 100000
Ethernet68 41,42,43,44 Eth54(Port54) 54 100000
Loading

0 comments on commit 509e3bd

Please sign in to comment.