Skip to content

Commit

Permalink
[syncd][bcm]: Start syncd by passing context configuration file and g…
Browse files Browse the repository at this point in the history
…lobal context index

    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

Signed-off-by: mlok <marty.lok@nokia.com>
  • Loading branch information
mlok-nokia committed Jul 9, 2021
1 parent 736dc3b commit 7c6e370
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"
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 7c6e370

Please sign in to comment.