Skip to content

Commit

Permalink
Enable MIRRORv6 for BFN platform (sonic-net#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
msosyak authored and lguohan committed Jan 30, 2020
1 parent 8426152 commit 9a5f95c
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 @@ -2072,6 +2072,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 @@ -2102,7 +2103,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 9a5f95c

Please sign in to comment.