Skip to content

Commit 6204031

Browse files
tonytituslguohan
authored andcommitted
[syncd] Add support for Innovium platform (sonic-net#496)
Signed-off-by: Tony Titus [email protected]
1 parent abfeef3 commit 6204031

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

syncd/scripts/syncd_init_common.sh

+11
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,15 @@ config_syncd_vs()
157157
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
158158
}
159159

160+
config_syncd_innovium()
161+
{
162+
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
163+
ulimit -s 65536
164+
export II_ROOT="/var/log/invm"
165+
export II_APPEND_LOG=1
166+
mkdir -p $II_ROOT
167+
}
168+
160169
config_syncd()
161170
{
162171
check_warm_boot
@@ -177,6 +186,8 @@ config_syncd()
177186
config_syncd_nephos
178187
elif [ "$SONIC_ASIC_TYPE" == "vs" ]; then
179188
config_syncd_vs
189+
elif [ "$SONIC_ASIC_TYPE" == "innovium" ]; then
190+
config_syncd_innovium
180191
else
181192
echo "Unknown ASIC type $SONIC_ASIC_TYPE"
182193
exit 1

0 commit comments

Comments
 (0)