Skip to content

Commit 9b51058

Browse files
qiluo-msftShuotian Cheng
authored and
Shuotian Cheng
committed
[aclorch]: Remove wrong table attribute (sonic-net#280)
1 parent c6dcc1e commit 9b51058

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

orchagent/aclorch.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -1409,10 +1409,6 @@ sai_status_t AclOrch::createBindAclTable(AclTable &aclTable, sai_object_id_t &ta
14091409
attr.value.s32 = SAI_ACL_STAGE_INGRESS;
14101410
table_attrs.push_back(attr);
14111411

1412-
attr.id = SAI_ACL_TABLE_GROUP_MEMBER_ATTR_PRIORITY;
1413-
attr.value.u32 = DEFAULT_TABLE_PRIORITY;
1414-
table_attrs.push_back(attr);
1415-
14161412
attr.id = SAI_ACL_TABLE_ATTR_FIELD_ETHER_TYPE;
14171413
attr.value.booldata = true;
14181414
table_attrs.push_back(attr);

orchagent/aclorch.h

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "mirrororch.h"
1414
#include "observer.h"
1515

16-
#define DEFAULT_TABLE_PRIORITY 10
1716
// ACL counters update interval in the DB
1817
// Value is in seconds. Should not be less than 5 seconds
1918
// (in worst case update of 1265 counters takes almost 5 sec)

orchagent/qosorch.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -658,10 +658,6 @@ sai_object_id_t QosOrch::initSystemAclTable()
658658
attr.value.s32 = SAI_ACL_STAGE_INGRESS;
659659
attrs.push_back(attr);
660660

661-
attr.id = SAI_ACL_TABLE_GROUP_MEMBER_ATTR_PRIORITY;
662-
attr.value.u32 = 10;
663-
attrs.push_back(attr);
664-
665661
attr.id = SAI_ACL_TABLE_ATTR_FIELD_ECN;
666662
attr.value.booldata = true;
667663
attrs.push_back(attr);

0 commit comments

Comments
 (0)