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 and judyjoseph committed Oct 5, 2021
1 parent ac243b0 commit 8d57cfd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion syncd/scripts/syncd_init_common.sh
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 8d57cfd

Please sign in to comment.