Skip to content

Commit

Permalink
Max switch-id must be 4K for J3/R3
Browse files Browse the repository at this point in the history
Summary: As titled

Reviewed By: zechengh09

Differential Revision:
D67058129

Privacy Context Container: L1125642

fbshipit-source-id: a8ab9ef26f50666e2b93bb565a9edf3990cd904b
  • Loading branch information
Jasmeet Bagga authored and facebook-github-bot committed Dec 12, 2024
1 parent d1514bc commit 24c511a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fboss/agent/platforms/sai/SaiPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ SaiSwitchTraits::CreateAttributes SaiPlatform::getSwitchAttributes(
constexpr uint32_t kRamon3LlfcThreshold{800};
fabricLLFC = std::vector<uint32_t>({kRamon3LlfcThreshold});
}
maxSwitchId = getAsic()->getMaxSwitchId();
if (isDualStage3Q2QMode()) {
maxSystemPortId = 32515;
maxLocalSystemPortId = 5;
Expand Down

0 comments on commit 24c511a

Please sign in to comment.