From 9b510585e7c0555f0fbef7550c4ed8dee7998221 Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Mon, 7 Aug 2017 16:27:06 -0700 Subject: [PATCH] [aclorch]: Remove wrong table attribute (#280) --- orchagent/aclorch.cpp | 4 ---- orchagent/aclorch.h | 1 - orchagent/qosorch.cpp | 4 ---- 3 files changed, 9 deletions(-) diff --git a/orchagent/aclorch.cpp b/orchagent/aclorch.cpp index 7cde502fe9..ed8f15bf79 100644 --- a/orchagent/aclorch.cpp +++ b/orchagent/aclorch.cpp @@ -1409,10 +1409,6 @@ sai_status_t AclOrch::createBindAclTable(AclTable &aclTable, sai_object_id_t &ta attr.value.s32 = SAI_ACL_STAGE_INGRESS; table_attrs.push_back(attr); - attr.id = SAI_ACL_TABLE_GROUP_MEMBER_ATTR_PRIORITY; - attr.value.u32 = DEFAULT_TABLE_PRIORITY; - table_attrs.push_back(attr); - attr.id = SAI_ACL_TABLE_ATTR_FIELD_ETHER_TYPE; attr.value.booldata = true; table_attrs.push_back(attr); diff --git a/orchagent/aclorch.h b/orchagent/aclorch.h index 1b787d0e4b..ab176a08d1 100644 --- a/orchagent/aclorch.h +++ b/orchagent/aclorch.h @@ -13,7 +13,6 @@ #include "mirrororch.h" #include "observer.h" -#define DEFAULT_TABLE_PRIORITY 10 // ACL counters update interval in the DB // Value is in seconds. Should not be less than 5 seconds // (in worst case update of 1265 counters takes almost 5 sec) diff --git a/orchagent/qosorch.cpp b/orchagent/qosorch.cpp index 4896516d7f..84a05d1faa 100644 --- a/orchagent/qosorch.cpp +++ b/orchagent/qosorch.cpp @@ -658,10 +658,6 @@ sai_object_id_t QosOrch::initSystemAclTable() attr.value.s32 = SAI_ACL_STAGE_INGRESS; attrs.push_back(attr); - attr.id = SAI_ACL_TABLE_GROUP_MEMBER_ATTR_PRIORITY; - attr.value.u32 = 10; - attrs.push_back(attr); - attr.id = SAI_ACL_TABLE_ATTR_FIELD_ECN; attr.value.booldata = true; attrs.push_back(attr);