Skip to content

Commit

Permalink
Sai switch process shel setting deltas
Browse files Browse the repository at this point in the history
Summary: As titled

Reviewed By: jasmeetbagga

Differential Revision: D66532306

fbshipit-source-id: 6942ca41c3952baa5cc08eee72442a0c1742aa14
  • Loading branch information
Ron He authored and facebook-github-bot committed Dec 3, 2024
1 parent a784d25 commit 49011d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fboss/agent/hw/sai/switch/SaiSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,14 @@ void SaiSwitch::processSwitchSettingsChangeSansDrainedEntryLocked(
newConditionalEntropyRehashPeriodUS.value_or(0));
}
}

{
const auto oldShelConfig = oldSwitchSettings->getSelfHealingEcmpLagConfig();
const auto newShelConfig = newSwitchSettings->getSelfHealingEcmpLagConfig();
if (oldShelConfig != newShelConfig) {
managerTable_->switchManager().setShelConfig(newShelConfig);
}
}
}

template <typename LockPolicyT>
Expand Down

0 comments on commit 49011d3

Please sign in to comment.