Skip to content

[pfcwd]: create PFCWD acl instead of L3 ACL#479

Merged
sihuihan88 merged 1 commit intosonic-net:masterfrom
sihuihan88:dev/sihan/pfcacl
Apr 20, 2018
Merged

[pfcwd]: create PFCWD acl instead of L3 ACL#479
sihuihan88 merged 1 commit intosonic-net:masterfrom
sihuihan88:dev/sihan/pfcacl

Conversation

@sihuihan88
Copy link
Copy Markdown
Contributor

Signed-off-by: Sihui Han [email protected]

What I did
Create a new ACL type called for PFCWD
Why I did it
L3 ACL has many qualifiers that are not needed for PFCWD. Creating L3 ACL consumes more resources than needed, which will cause issue when the ACL resources is limited.
How I verified it
Tested on DUT
Details if related


if (type == ACL_TABLE_PFCWD)
{
attr.id = SAI_ACL_TABLE_ATTR_FIELD_TC;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought.. we can have TC and STAGE outside the if so, no need to duplicate the code below.

@sihuihan88
Copy link
Copy Markdown
Contributor Author

Retest this please

@sihuihan88
Copy link
Copy Markdown
Contributor Author

Retest this please

@sihuihan88 sihuihan88 merged commit 84ce5ed into sonic-net:master Apr 20, 2018
@sihuihan88 sihuihan88 deleted the dev/sihan/pfcacl branch April 20, 2018 01:36
sihuihan88 added a commit to sihuihan88/sonic-swss that referenced this pull request Apr 23, 2018
lguohan pushed a commit that referenced this pull request Apr 24, 2018
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
jianyuewu pushed a commit to jianyuewu/sonic-swss that referenced this pull request Dec 24, 2025
* Fixed the MACRO name as per review comment.
Signed-off-by: Venkatesan Mahalingam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants