Skip to content

Commit 2e58cd9

Browse files
authored
[soda] Add support for SODA data plane (sonic-net#925)
1 parent 696ad99 commit 2e58cd9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

syncd/scripts/syncd_init_common.sh

+9-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fi
2929
# Use temporary view between init and apply
3030
CMD_ARGS+=" -u"
3131

32-
# Use bulk api`s in SAI
32+
# Use bulk APIs in SAI
3333
# currently disabled since most vendors don't support that yet
3434
# CMD_ARGS+=" -l"
3535

@@ -261,6 +261,12 @@ config_syncd_vs()
261261
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
262262
}
263263

264+
config_syncd_soda()
265+
{
266+
# Add support for SAI bulk operations
267+
CMD_ARGS+=" -l -p $HWSKU_DIR/sai.profile"
268+
}
269+
264270
config_syncd_innovium()
265271
{
266272
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
@@ -295,6 +301,8 @@ config_syncd()
295301
config_syncd_vs
296302
elif [ "$SONIC_ASIC_TYPE" == "innovium" ]; then
297303
config_syncd_innovium
304+
elif [ "$SONIC_ASIC_TYPE" == "soda" ]; then
305+
config_syncd_soda
298306
else
299307
echo "Unknown ASIC type $SONIC_ASIC_TYPE"
300308
exit 1

0 commit comments

Comments
 (0)