Skip to content

Commit

Permalink
Fix breakage with VoQ latency watermarks in XGS 11.0
Browse files Browse the repository at this point in the history
Summary: As titled, this is needed only for DNX switches.

Reviewed By: shri-khare

Differential Revision: D61368863

fbshipit-source-id: c4a136d807ba6b0a3c4d65e195db021c8c159e76
  • Loading branch information
Nivin Lawrence authored and facebook-github-bot committed Aug 16, 2024
1 parent 243569f commit f4ec6d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fboss/agent/platforms/sai/SaiPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ SaiSwitchTraits::CreateAttributes SaiPlatform::getSwitchAttributes(
std::optional<int32_t> voqLatencyMinLevel2Ns;
std::optional<int32_t> 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;
Expand Down

0 comments on commit f4ec6d9

Please sign in to comment.