Skip to content

Commit

Permalink
[syncd][bcm] Start syncd by passing context configuration file (#858)
Browse files Browse the repository at this point in the history
In multi-asic BCM switch, there are multiple swss and syncd dockers. Orchagent process in each swss is started with a different hwinfo(asic_id). This PR is to ensure that context configuration is passed in syncd which has the hwinfo information with which each orchagent is started.
This change is similar to done for VS target
  • Loading branch information
mlok-nokia authored Aug 17, 2021
1 parent 507c5b3 commit b71c2a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ config_syncd_bcm()
fi

fi


if [ -f "$HWSKU_DIR/context_config.json" ]; then
CMD_ARGS+=" -x $HWSKU_DIR/context_config.json -g 0"
fi

[ -e /dev/linux-bcm-knet ] || mknod /dev/linux-bcm-knet c 122 0
[ -e /dev/linux-user-bde ] || mknod /dev/linux-user-bde c 126 0
[ -e /dev/linux-kernel-bde ] || mknod /dev/linux-kernel-bde c 127 0
Expand Down

0 comments on commit b71c2a5

Please sign in to comment.