Skip to content

Commit

Permalink
Fix Crm Acl used counter update (sonic-net#496)
Browse files Browse the repository at this point in the history
Signed-off-by: Nadiya Stetskovych <Nadiya.Stetskovych@cavium.com>
  • Loading branch information
Nadiya authored and prsunny committed May 7, 2018
1 parent d57f9a1 commit 236843f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ bool PortsOrch::bindAclTable(sai_object_id_t id, sai_object_id_t table_oid, sai_
port.m_egress_acl_table_group_id = groupOid;
}

gCrmOrch->incCrmAclUsedCounter(CrmResourceType::CRM_ACL_GROUP, (sai_acl_stage_t) group_attr.value.s32, SAI_ACL_BIND_POINT_TYPE_PORT);
gCrmOrch->incCrmAclUsedCounter(CrmResourceType::CRM_ACL_GROUP, ingress ? SAI_ACL_STAGE_INGRESS : SAI_ACL_STAGE_EGRESS, SAI_ACL_BIND_POINT_TYPE_PORT);

switch (port.m_type)
{
Expand Down

0 comments on commit 236843f

Please sign in to comment.