Skip to content

Commit d464061

Browse files
author
Shuotian Cheng
authored
[syncd]: Add two Broadcom platforms init support (sonic-net#155)
1 parent 0328bbc commit d464061

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

debian/syncd.init

+9
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ start)
5656
start_bcm
5757
DAEMON_ARGS+=" -p /etc/syncd.d/arista_a7050_qx32.profile"
5858

59+
elif [ "$onie_platform" == "x86_64-m3000-r0" ]; then
60+
start_bcm
61+
DAEMON_ARGS+=" -p /etc/syncd.d/m3000_r0.profile"
62+
63+
elif [ "$onie_platform" == "x86_64-m3000-r1" ]; then
64+
start_bcm
65+
DAEMON_ARGS+=" -p /etc/syncd.d/m3000_r1.profile"
66+
5967
elif [ "$onie_platform" == "x86_64-mlnx_x86-r5.0.1400" ] || [ "$onie_platform" == "x86_64-mlnx_msn2700-r0" ]; then
6068
start_mlnx
6169

@@ -77,6 +85,7 @@ start)
7785
if [ ${ENABLE_SAITHRIFT} == 1 ]; then
7886
DAEMON_ARGS+=" -r -m /etc/syncd.d/msn2700_port_map.ini"
7987
fi
88+
8089
fi
8190

8291
start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_ARGS

etc/syncd.d/m3000_r0.profile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SAI_INIT_CONFIG_FILE=/etc/bcm/td2-m3000-r0-32x40G.config.bcm

etc/syncd.d/m3000_r1.profile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SAI_INIT_CONFIG_FILE=/etc/bcm/td2-m3000-r1-32x40G.config.bcm

0 commit comments

Comments
 (0)