Skip to content

Commit 2da73f8

Browse files
author
kram
committed
enable fast-boot for barefoot platforms
1 parent 450ed3b commit 2da73f8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

syncd/scripts/syncd_init_common.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ config_syncd_barefoot()
107107
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/bfn/install/lib/platform/$ONIE_PLATFORM:/opt/bfn/install/lib:/opt/bfn/install/lib/tofinopd/switch
108108
. /opt/bfn/install/bin/dma_setup.sh
109109
export LD_PRELOAD=libswitchapi.so:libswitchsai.so:libpd.so:libpdcli.so:libdriver.so:libbfsys.so
110+
111+
if [ $FAST_REBOOT == "yes" ]; then
112+
CMD_ARGS+=" -t fast"
113+
fi
110114
}
111115

112116
config_syncd()

0 commit comments

Comments
 (0)