[DPB][Mellanox]Fixing DPB modes in Mellanox-SN2700-D40C8S8 (#8953)

#### Why I did it
Fixing https://github.com/Azure/sonic-buildimage/issues/8938
Fixing 1x10G DPB mode in Mellanox-SN2700-D40C8S8 SKU as it was causing sonic-cfggen to fail.


#### How I did it
Added correct mode format in hwksu.json in Mellanox-SN2700-D40C8S8  and updated platform.json for the new mode.


#### How to verify it
Using sonic-cfggen verify it works fine
This commit is contained in:
Sudharsan Dhamal Gopalarathnam 2021-10-12 18:16:13 -07:00 committed by Judy Joseph
parent ecc8dc8c70
commit 733d3a8e53
2 changed files with 12 additions and 10 deletions

View File

@ -1,31 +1,31 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "1x10G"
"default_brkout_mode": "4x10G[25G]"
},
"Ethernet1": {
"default_brkout_mode": "1x10G"
"default_brkout_mode": "4x10G[25G]"
},
"Ethernet2": {
"default_brkout_mode": "1x10G"
"default_brkout_mode": "4x10G[25G]"
},
"Ethernet3": {
"default_brkout_mode": "1x10G"
"default_brkout_mode": "4x10G[25G]"
},
"Ethernet4": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"
},
"Ethernet8": {
"default_brkout_mode": "1x10G"
"default_brkout_mode": "4x10G[25G]"
},
"Ethernet9": {
"default_brkout_mode": "1x10G"
"default_brkout_mode": "4x10G[25G]"
},
"Ethernet10": {
"default_brkout_mode": "1x10G"
"default_brkout_mode": "4x10G[25G]"
},
"Ethernet11": {
"default_brkout_mode": "1x10G"
"default_brkout_mode": "4x10G[25G]"
},
"Ethernet12": {
"default_brkout_mode": "1x100G[50G,40G,25G,10G]"

View File

@ -381,7 +381,8 @@
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp1"],
"2x50G[25G,10G]": ["etp1a", "etp1b"]
"2x50G[25G,10G]": ["etp1a", "etp1b"],
"4x10G[25G]": ["etp1a", "etp1b", "etp1c", "etp1d"]
}
},
"Ethernet4": {
@ -397,7 +398,8 @@
"lanes": "8,9,10,11",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp3"],
"2x50G[25G,10G]": ["etp3a", "etp3b"]
"2x50G[25G,10G]": ["etp3a", "etp3b"],
"4x10G[25G]": ["etp3a", "etp3b", "etp3c", "etp3d"]
}
},
"Ethernet12": {