Skip to content

Commit

Permalink
[mirrororch]: Remove the queue initialization for different platforms (
Browse files Browse the repository at this point in the history
…#614)

Queue 0 is a lossy queue, it is okay for all platforms to use queue 0
for mirrored packets.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  • Loading branch information
Shuotian Cheng authored and lguohan committed Sep 14, 2018
1 parent 5af88ab commit 528295d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions orchagent/mirrororch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,10 @@ MirrorEntry::MirrorEntry(const string& platform) :
if (platform == MLNX_PLATFORM_SUBSTRING)
{
greType = 0x8949;
queue = 1;
}
else
{
greType = 0x88be;
queue = 0;
}

nexthopInfo.prefix = IpPrefix("0.0.0.0/0");
Expand Down

0 comments on commit 528295d

Please sign in to comment.