Skip to content

Commit

Permalink
[aclorch]: Remove wrong table attribute (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored and Shuotian Cheng committed Aug 7, 2017
1 parent c6dcc1e commit 9b51058
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions orchagent/aclorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion orchagent/aclorch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions orchagent/qosorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b51058

Please sign in to comment.