Skip to content

Commit

Permalink
Enable MIRRORv6 for BFN platform (sonic-net#1191)
Browse files Browse the repository at this point in the history
  • Loading branch information
msosyak authored Feb 3, 2020
1 parent bc55d4a commit 63c4217
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion orchagent/aclorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2065,6 +2065,7 @@ void AclOrch::init(vector<TableConnector>& connectors, PortsOrch *portOrch, Mirr
string platform = getenv("platform") ? getenv("platform") : "";
if (platform == BRCM_PLATFORM_SUBSTRING ||
platform == MLNX_PLATFORM_SUBSTRING ||
platform == BFN_PLATFORM_SUBSTRING ||
platform == NPS_PLATFORM_SUBSTRING)
{
m_mirrorTableCapabilities =
Expand Down Expand Up @@ -2095,7 +2096,8 @@ 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) {
if (platform == MLNX_PLATFORM_SUBSTRING ||
platform == BFN_PLATFORM_SUBSTRING) {
m_isCombinedMirrorV6Table = false;
}

Expand Down

0 comments on commit 63c4217

Please sign in to comment.