diff --git a/fboss/agent/platforms/sai/SaiPlatform.cpp b/fboss/agent/platforms/sai/SaiPlatform.cpp index 6dc5ca595175d..c95ec1ecae49a 100644 --- a/fboss/agent/platforms/sai/SaiPlatform.cpp +++ b/fboss/agent/platforms/sai/SaiPlatform.cpp @@ -562,7 +562,7 @@ SaiSwitchTraits::CreateAttributes SaiPlatform::getSwitchAttributes( std::optional voqLatencyMinLevel2Ns; std::optional voqLatencyMaxLevel2Ns; // TODO: Look at making this part of config instead of hardcoding -#if defined(BRCM_SAI_SDK_GTE_11_0) +#if defined(BRCM_SAI_SDK_DNX) && defined(BRCM_SAI_SDK_GTE_11_0) voqLatencyMinLocalNs = 5000; voqLatencyMaxLocalNs = 4294967295; voqLatencyMinLevel1Ns = 500000;