Skip to content

Commit

Permalink
Enable Mirror ACL for cisco-8000 asic type (sonic-net#2059)
Browse files Browse the repository at this point in the history
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 <venkatg@cisco.com>
  • Loading branch information
VenkatCisco authored Feb 8, 2022
1 parent f2e4d25 commit cc91803
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions orchagent/aclorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2646,6 +2646,7 @@ void AclOrch::init(vector<TableConnector>& connectors, PortsOrch *portOrch, Mirr
// purposes.
string platform = getenv("platform") ? getenv("platform") : "";
if (platform == BRCM_PLATFORM_SUBSTRING ||
platform == CISCO_8000_PLATFORM_SUBSTRING ||
platform == MLNX_PLATFORM_SUBSTRING ||
platform == BFN_PLATFORM_SUBSTRING ||
platform == MRVL_PLATFORM_SUBSTRING ||
Expand Down Expand Up @@ -2676,6 +2677,7 @@ void AclOrch::init(vector<TableConnector>& connectors, PortsOrch *portOrch, Mirr

// In Mellanox platform, V4 and V6 rules are stored in different tables
if (platform == MLNX_PLATFORM_SUBSTRING ||
platform == CISCO_8000_PLATFORM_SUBSTRING ||
platform == MRVL_PLATFORM_SUBSTRING)
{
m_isCombinedMirrorV6Table = false;
Expand Down

0 comments on commit cc91803

Please sign in to comment.