Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[acl] Move ACL table constants to acltable.h #1671

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

daall
Copy link
Contributor

@daall daall commented Mar 12, 2021

Signed-off-by: Danny Allen [email protected]

What I did
I moved all of the ACL table related constants over to acltable.h.

Why I did it
aclorch.h and aclorch.cpp are both huge files that have become hard to maintain/update to support new features. This is part of a bigger effort to try to refactor it to be more manageable.

How I verified it
Confirmed that the compiler doesn't throw any new errors, unit tests still work the same as before, and I ran test_acl and test_everflow from sonic-mgmt to confirm there is no traffic impact.

Details if related

@daall daall requested a review from prsunny March 12, 2021 22:21
@lgtm-com
Copy link

lgtm-com bot commented Mar 12, 2021

This pull request fixes 2 alerts when merging 261be48 into 1951365 - view on LGTM.com

fixed alerts:

  • 2 for Empty branch of conditional

Copy link
Collaborator

@prsunny prsunny left a comment

Choose a reason for hiding this comment

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

lgtm

@daall daall merged commit 1382f7a into sonic-net:master Mar 18, 2021
@daall daall deleted the acl_table_refactor_p1 branch March 18, 2021 21:59
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-swss that referenced this pull request Oct 5, 2021
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