From 0495b97e4150d2913fa0a5cbc7ab56d5e5378327 Mon Sep 17 00:00:00 2001 From: Sonic Build Admin Date: Thu, 22 Jan 2026 16:24:00 +0000 Subject: [PATCH] [Mellanox] Add phcsync activation for mellanox platforms. Activate phcsync script for Mellanox platforms in order to sync the asic clock with the system clock. --- syncd/scripts/syncd_init_common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/syncd/scripts/syncd_init_common.sh b/syncd/scripts/syncd_init_common.sh index 516a480e..c0555f3a 100644 --- a/syncd/scripts/syncd_init_common.sh +++ b/syncd/scripts/syncd_init_common.sh @@ -378,6 +378,10 @@ config_syncd_mlnx() # Ensure no redundant newlines sed -i '/^$/d' /tmp/sai.profile + + # As long as sonic does not support PTP which can be enabled/disabled, Nvidia platforms enables + # phcsync for all systems. If HW does not support it, it will do nothing. + supervisorctl start phcsync } config_syncd_centec()