Skip to content

Commit

Permalink
fix for build break
Browse files Browse the repository at this point in the history
  • Loading branch information
GoravGargCelestica committed Feb 25, 2025
1 parent 9eb8197 commit 7145ba1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fboss/agent/hw/sai/switch/npu/bcm/SaiTamManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ std::vector<sai_object_id_t> getPortTamIds(
return portTamIds;
}

#if defined(BRCM_SAI_SDK_DNX_GTE_11_0)
void bindTamObjectToSwitchAndPort(
SaiManagerTable* managerTable,
folly::F14FastMap<std::string, std::unique_ptr<SaiTamHandle>>& tamHandles,
Expand All @@ -186,6 +187,7 @@ void bindTamObjectToSwitchAndPort(
XLOG(INFO) << "Binding TAM object " << tamId << " to switch";
managerTable->switchManager().setTamObject(getSwitchTamIds(tamHandles));
}
#endif

void unbindTamObjectFromSwitchAndPort(
SaiManagerTable* managerTable,
Expand Down

0 comments on commit 7145ba1

Please sign in to comment.