Skip to content

Commit

Permalink
Generate queue maps only for front panel ports (sonic-net#532)
Browse files Browse the repository at this point in the history
* Generate queue maps only for front panel ports
  • Loading branch information
pavel-shirshov authored Jul 2, 2018
1 parent 19e6c72 commit 82a95a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2372,7 +2372,10 @@ void PortsOrch::generateQueueMap()

for (const auto& it: m_portList)
{
generateQueueMapPerPort(it.second);
if (it.second.m_type == Port::PHY)
{
generateQueueMapPerPort(it.second);
}
}

m_isQueueMapGenerated = true;
Expand Down

0 comments on commit 82a95a1

Please sign in to comment.