From fafc03ca3d4ac75147002977de6dd4e96c04388e Mon Sep 17 00:00:00 2001 From: Myron Sosyak Date: Wed, 26 Feb 2020 01:28:42 -0800 Subject: [PATCH] Enable m_isCombinedMirrorV6Table for BFN platform --- orchagent/aclorch.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/orchagent/aclorch.cpp b/orchagent/aclorch.cpp index 005c42db4a..5f7cd9d17c 100644 --- a/orchagent/aclorch.cpp +++ b/orchagent/aclorch.cpp @@ -2145,14 +2145,14 @@ void AclOrch::init(vector& 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 == NPS_PLATFORM_SUBSTRING || + platform == BFN_PLATFORM_SUBSTRING) { m_isCombinedMirrorV6Table = true; } // In Mellanox platform, V4 and V6 rules are stored in different tables if (platform == MLNX_PLATFORM_SUBSTRING || - platform == MRVL_PLATFORM_SUBSTRING || - platform == BFN_PLATFORM_SUBSTRING) { + platform == MRVL_PLATFORM_SUBSTRING) { m_isCombinedMirrorV6Table = false; } @@ -2844,7 +2844,7 @@ void AclOrch::doAclRuleTask(Consumer &consumer) string op = kfvOp(t); SWSS_LOG_INFO("OP: %s, TABLE_ID: %s, RULE_ID: %s", op.c_str(), table_id.c_str(), rule_id.c_str()); - + if (table_id.empty()) { SWSS_LOG_WARN("ACL rule with RULE_ID: %s is not valid as TABLE_ID is empty", rule_id.c_str());