Skip to content

Commit 46eafcb

Browse files
[Mellanox] Stop SDK health monitor before syncd shutdown (sonic-net#23681)
[Mellanox] Stop SDK health monitor before syncd shutdown
1 parent 86c3f17 commit 46eafcb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

files/scripts/syncd.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ function stopplatform1() {
9696
debug "Stopped pmon service"
9797
fi
9898

99+
if [[ x$sonic_asic_platform == x"mellanox" ]]; then
100+
echo "health_check_trigger del_dev 1" > /proc/mlx_sx/sx_core
101+
fi
102+
99103
if [[ x$sonic_asic_platform != x"mellanox" ]] || [[ x$TYPE != x"cold" ]]; then
100104
# Invoke platform specific pre shutdown routine.
101105
PLATFORM=`$SONIC_DB_CLI CONFIG_DB hget 'DEVICE_METADATA|localhost' platform`

0 commit comments

Comments
 (0)