Skip to content

Commit

Permalink
Do not set internal port count to the PortConfigDone DB value. (sonic…
Browse files Browse the repository at this point in the history
…-net#2910)

* Do not set internal port count to the PortConfigDone DB value.
  • Loading branch information
mint570 authored Oct 3, 2023
1 parent d0f1108 commit 7f7bc33
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3294,14 +3294,6 @@ void PortsOrch::doPortTask(Consumer &consumer)

setPortConfigState(PORT_CONFIG_RECEIVED);

for (const auto &cit : kfvFieldsValues(keyOpFieldsValues))
{
if (fvField(cit) == "count")
{
m_portCount = to_uint<uint32_t>(fvValue(cit));
}
}

SWSS_LOG_INFO("Got PortConfigDone notification from portsyncd");

it = taskMap.begin();
Expand Down

0 comments on commit 7f7bc33

Please sign in to comment.