Skip to content

Commit

Permalink
Enable ACL table type mirror_v6 for Innovium Platform (sonic-net#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
rck-innovium committed Dec 10, 2020
1 parent cf27721 commit 376acfe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions orchagent/aclorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static const acl_capabilities_t defaultAclActionsSupported =
}
},
{
ACL_STAGE_EGRESS,
ACL_STAGE_EGRESS,
{
SAI_ACL_ACTION_TYPE_PACKET_ACTION
}
Expand Down Expand Up @@ -880,7 +880,7 @@ bool AclRuleL3::validateAddAction(string attr_name, string _attr_value)
// This method should return sai attribute id of the redirect destination
sai_object_id_t AclRuleL3::getRedirectObjectId(const string& redirect_value)
{

string target = redirect_value;

// Try to parse physical port and LAG first
Expand Down Expand Up @@ -2187,6 +2187,7 @@ void AclOrch::init(vector<TableConnector>& connectors, PortsOrch *portOrch, Mirr
platform == MLNX_PLATFORM_SUBSTRING ||
platform == BFN_PLATFORM_SUBSTRING ||
platform == MRVL_PLATFORM_SUBSTRING ||
platform == INVM_PLATFORM_SUBSTRING ||
platform == NPS_PLATFORM_SUBSTRING)
{
m_mirrorTableCapabilities =
Expand All @@ -2213,7 +2214,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 376acfe

Please sign in to comment.