forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker-sonic-vs]: dd NPU SKU for docker-sonic-vs (sonic-net#15604)
Define a generic 2-port NPU SKU for docker-sonic-vs to enable DASH vstests to pass on azure pipelines Work item tracking Microsoft ADO 24375371: How I did it Define a generic 2-port NPU hwsku that is used only for DASH-specific vstests. Signed-off-by: Prabhat Aravind <[email protected]>
- Loading branch information
1 parent
5225cdc
commit 9228147
Showing
4 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_NPU | ||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true | ||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini | ||
SAI_VS_CORE_PORT_INDEX_MAP_FILE=/usr/share/sonic/hwsku/coreportindexmap.ini | ||
SAI_VS_INTERFACE_FABRIC_LANE_MAP_FILE=/usr/share/sonic/hwsku/fabriclanemap.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"interfaces": { | ||
"Ethernet0": { | ||
"index": "1,1,1,1", | ||
"lanes": "0,1,2,3", | ||
"breakout_modes": { | ||
"1x100G": ["etp1"], | ||
"1x100G[50G,40G,25G,10G]": ["etp1"], | ||
"2x50G[25G,10G]": ["etp1a", "etp1b"], | ||
"4x10G[25G]": ["etp1a", "etp1b", "etp1c", "etp1d"] | ||
} | ||
}, | ||
"Ethernet4": { | ||
"index": "2,2,2,2", | ||
"lanes": "4,5,6,7", | ||
"breakout_modes": { | ||
"1x100G": ["etp2"], | ||
"1x100G[50G,40G,25G,10G]": ["etp2"], | ||
"2x50G[25G,10G]": ["etp2a", "etp2b"] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters