Skip to content

Commit

Permalink
[syncd] Add support for Innovium platform (sonic-net#496)
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Titus ttitus@innovium.com
  • Loading branch information
tonytitus authored and lguohan committed Jul 31, 2019
1 parent abfeef3 commit 6204031
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,15 @@ config_syncd_vs()
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
}

config_syncd_innovium()
{
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
ulimit -s 65536
export II_ROOT="/var/log/invm"
export II_APPEND_LOG=1
mkdir -p $II_ROOT
}

config_syncd()
{
check_warm_boot
Expand All @@ -177,6 +186,8 @@ config_syncd()
config_syncd_nephos
elif [ "$SONIC_ASIC_TYPE" == "vs" ]; then
config_syncd_vs
elif [ "$SONIC_ASIC_TYPE" == "innovium" ]; then
config_syncd_innovium
else
echo "Unknown ASIC type $SONIC_ASIC_TYPE"
exit 1
Expand Down

0 comments on commit 6204031

Please sign in to comment.