Skip to content

Commit 886875b

Browse files
authored
[Dual-ToR] update sai.profile with SAI_ADDITIONAL_MAC_ENABLED attribute if corresponding arg passed to syncd (#1201)
Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
1 parent c58d259 commit 886875b

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
@@ -220,6 +220,10 @@ config_syncd_mlnx()
220220
echo "SAI_DSCP_REMAPPING_ENABLED=1" >> /tmp/sai.profile
221221
fi
222222

223+
if [[ "$DUAL_TOR" == "enable" ]]; then
224+
echo "SAI_ADDITIONAL_MAC_ENABLED=1" >> /tmp/sai.profile
225+
fi
226+
223227
SDK_DUMP_PATH=`cat /tmp/sai.profile|grep "SAI_DUMP_STORE_PATH"|cut -d = -f2`
224228
if [ ! -d "$SDK_DUMP_PATH" ]; then
225229
mkdir -p "$SDK_DUMP_PATH"

0 commit comments

Comments
 (0)