Skip to content

Commit cc91803

Browse files
authored
Enable Mirror ACL for cisco-8000 asic type (sonic-net#2059)
What I did Enable ACL mirror capabilities for platform type CISCO_8000_PLATFORM_SUBSTRING Why I did it Enable Mirror ACL for Cisco Silicon Platforms. Signed-off-by: Venkat Garigipati <[email protected]>
1 parent f2e4d25 commit cc91803

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

orchagent/aclorch.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -2646,6 +2646,7 @@ void AclOrch::init(vector<TableConnector>& connectors, PortsOrch *portOrch, Mirr
26462646
// purposes.
26472647
string platform = getenv("platform") ? getenv("platform") : "";
26482648
if (platform == BRCM_PLATFORM_SUBSTRING ||
2649+
platform == CISCO_8000_PLATFORM_SUBSTRING ||
26492650
platform == MLNX_PLATFORM_SUBSTRING ||
26502651
platform == BFN_PLATFORM_SUBSTRING ||
26512652
platform == MRVL_PLATFORM_SUBSTRING ||
@@ -2676,6 +2677,7 @@ void AclOrch::init(vector<TableConnector>& connectors, PortsOrch *portOrch, Mirr
26762677

26772678
// In Mellanox platform, V4 and V6 rules are stored in different tables
26782679
if (platform == MLNX_PLATFORM_SUBSTRING ||
2680+
platform == CISCO_8000_PLATFORM_SUBSTRING ||
26792681
platform == MRVL_PLATFORM_SUBSTRING)
26802682
{
26812683
m_isCombinedMirrorV6Table = false;

0 commit comments

Comments
 (0)