Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mellanox] Remove pmon delay for certain platforms #19190

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skip_ledd": true,
"skip_fancontrol": true,
"delay_xcvrd": true,
"delay_xcvrd": false,
"skip_xcvrd_cmis_mgr": false
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skip_ledd": true,
"skip_fancontrol": true,
"delay_xcvrd": true,
"delay_xcvrd": false,
"skip_xcvrd_cmis_mgr": false
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"skip_ledd": true,
"skip_fancontrol": true,
"skip_xcvrd_cmis_mgr": true
}

Empty file.
Empty file.

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"skip_ledd": true,
"skip_fancontrol": true,
"skip_xcvrd_cmis_mgr": true
}

Empty file.
Empty file.
13 changes: 5 additions & 8 deletions files/scripts/syncd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function startplatform() {
platform=$aboot_platform
elif [ -n "$onie_platform" ]; then
platform=$onie_platform
else
else
platform="unknown"
fi
if [[ x"$platform" == x"x86_64-arista_720dt_48s" ]]; then
Expand Down Expand Up @@ -96,13 +96,10 @@ function waitplatform() {

BOOT_TYPE=`getBootType`
if [[ x"$sonic_asic_platform" == x"mellanox" ]]; then
if [[ x"$BOOT_TYPE" = @(x"fast"|x"warm"|x"fastfast") ]]; then
PMON_TIMER_STATUS=$(systemctl is-active pmon.timer)
if [[ x"$PMON_TIMER_STATUS" = x"inactive" ]]; then
systemctl start pmon.timer
else
debug "PMON service is delayed by a timer for better fast/warm boot performance"
fi
PLATFORM=`$SONIC_DB_CLI CONFIG_DB hget 'DEVICE_METADATA|localhost' platform`
PMON_IMMEDIATE_START="/usr/share/sonic/device/$PLATFORM/pmon_immediate_start"
if [[ x"$BOOT_TYPE" = @(x"fast"|x"warm"|x"fastfast") ]] && [[ ! -f $PMON_IMMEDIATE_START ]]; then
debug "PMON service is delayed by for better fast/warm boot performance"
else
debug "Starting pmon service..."
/bin/systemctl start pmon
Expand Down
Loading