Skip to content

Commit 6e8f991

Browse files
wendaniyxieca
authored andcommitted
Create ingress table group during the PFCWD stats list installment (#815)
Signed-off-by: Wenda Ni <[email protected]>
1 parent ae74a27 commit 6e8f991

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

orchagent/pfcwdorch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ void PfcWdSwOrch<DropHandler, ForwardHandler>::registerInWdDb(const Port& port,
539539

540540
// Create egress ACL table group for each port of pfcwd's interest
541541
sai_object_id_t groupId;
542+
gPortsOrch->createBindAclTableGroup(port.m_port_id, groupId, ACL_STAGE_INGRESS);
542543
gPortsOrch->createBindAclTableGroup(port.m_port_id, groupId, ACL_STAGE_EGRESS);
543544
}
544545

orchagent/portsorch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ bool PortsOrch::createBindAclTableGroup(sai_object_id_t id, sai_object_id_t &gro
867867
}
868868
}
869869

870-
SWSS_LOG_NOTICE("Create ACL table group and bind port %s to it", port.m_alias.c_str());
870+
SWSS_LOG_NOTICE("Create %s ACL table group and bind port %s to it", ingress ? "ingress" : "egress", port.m_alias.c_str());
871871
}
872872

873873
return true;

0 commit comments

Comments
 (0)