Skip to content

Commit

Permalink
Support ACL Table type Mirrorv6 for Innovium (sonic-net#1528)
Browse files Browse the repository at this point in the history
Enable v6 ACL rule based Mirroring for Innovium Platform
  • Loading branch information
rck-innovium authored Dec 21, 2020
1 parent cea4468 commit 6c9ee5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions orchagent/aclorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static const acl_capabilities_t defaultAclActionsSupported =
}
},
{
ACL_STAGE_EGRESS,
ACL_STAGE_EGRESS,
{
SAI_ACL_ACTION_TYPE_PACKET_ACTION
}
Expand Down Expand Up @@ -2114,6 +2114,7 @@ void AclOrch::init(vector<TableConnector>& connectors, PortsOrch *portOrch, Mirr
if (platform == BRCM_PLATFORM_SUBSTRING ||
platform == MLNX_PLATFORM_SUBSTRING ||
platform == BFN_PLATFORM_SUBSTRING ||
platform == INVM_PLATFORM_SUBSTRING ||
platform == NPS_PLATFORM_SUBSTRING)
{
m_mirrorTableCapabilities =
Expand All @@ -2140,7 +2141,8 @@ void AclOrch::init(vector<TableConnector>& connectors, PortsOrch *portOrch, Mirr
// In Broadcom platform, V4 and V6 rules are stored in the same table
if (platform == BRCM_PLATFORM_SUBSTRING ||
platform == NPS_PLATFORM_SUBSTRING ||
platform == BFN_PLATFORM_SUBSTRING) {
platform == BFN_PLATFORM_SUBSTRING ||
platform == INVM_PLATFORM_SUBSTRING) {
m_isCombinedMirrorV6Table = true;
}

Expand Down

0 comments on commit 6c9ee5f

Please sign in to comment.