Skip to content

Commit

Permalink
[soda] Add support for SODA data plane (sonic-net#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
TACappleman authored Sep 15, 2021
1 parent 696ad99 commit 2e58cd9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fi
# Use temporary view between init and apply
CMD_ARGS+=" -u"

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

Expand Down Expand Up @@ -261,6 +261,12 @@ config_syncd_vs()
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
}

config_syncd_soda()
{
# Add support for SAI bulk operations
CMD_ARGS+=" -l -p $HWSKU_DIR/sai.profile"
}

config_syncd_innovium()
{
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
Expand Down Expand Up @@ -295,6 +301,8 @@ config_syncd()
config_syncd_vs
elif [ "$SONIC_ASIC_TYPE" == "innovium" ]; then
config_syncd_innovium
elif [ "$SONIC_ASIC_TYPE" == "soda" ]; then
config_syncd_soda
else
echo "Unknown ASIC type $SONIC_ASIC_TYPE"
exit 1
Expand Down

0 comments on commit 2e58cd9

Please sign in to comment.