Skip to content

Commit 528295d

Browse files
Shuotian Chenglguohan
Shuotian Cheng
authored andcommitted
[mirrororch]: Remove the queue initialization for different platforms (#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 <[email protected]>
1 parent 5af88ab commit 528295d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

orchagent/mirrororch.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@ MirrorEntry::MirrorEntry(const string& platform) :
5050
if (platform == MLNX_PLATFORM_SUBSTRING)
5151
{
5252
greType = 0x8949;
53-
queue = 1;
5453
}
5554
else
5655
{
5756
greType = 0x88be;
58-
queue = 0;
5957
}
6058

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

0 commit comments

Comments
 (0)