From 6204031846ecc61566af370aa6dc637ef3b6e653 Mon Sep 17 00:00:00 2001 From: Tony Titus <49417625+tonytitus@users.noreply.github.com> Date: Wed, 31 Jul 2019 14:38:45 -0700 Subject: [PATCH] [syncd] Add support for Innovium platform (#496) Signed-off-by: Tony Titus ttitus@innovium.com --- syncd/scripts/syncd_init_common.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/syncd/scripts/syncd_init_common.sh b/syncd/scripts/syncd_init_common.sh index f85f5ef1f7..e97ca37520 100755 --- a/syncd/scripts/syncd_init_common.sh +++ b/syncd/scripts/syncd_init_common.sh @@ -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 @@ -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