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

[Dynamic Buffer Calc] Enhance the field checking in table handling #1680

Merged
merged 2 commits into from
Mar 26, 2021

Conversation

stephenxs
Copy link
Collaborator

What I did
Enhance the field checking in table handling

  • Fix a typo in vs test.
  • Add field name-checking in BUFFER_PG handling.
  • Use else if instead of if if the field matches one field of the table because in that case, it won't match others

Signed-off-by: Stephen Sun [email protected]

Why I did it

How I verified it
Run vs test and regression test.

Details if related

@stephenxs
Copy link
Collaborator Author

Originally it was a typo in vstest. During fixing the typo I realized it's lacking the field name checking. So I add them as well.

@stephenxs stephenxs marked this pull request as ready for review March 20, 2021 07:07
@lguohan lguohan merged commit 242189b into sonic-net:master Mar 26, 2021
@stephenxs stephenxs deleted the enhance-field-check branch March 26, 2021 00:45
yxieca pushed a commit that referenced this pull request Mar 26, 2021
…1680)

* Fix a typo in test_buffer_dynamic.py and enhance a field name check
* Use "else if" instead of "if"

Signed-off-by: Stephen Sun <[email protected]>
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-swss that referenced this pull request Oct 5, 2021
…onic-net#1680)

* Fix a typo in test_buffer_dynamic.py and enhance a field name check
* Use "else if" instead of "if"

Signed-off-by: Stephen Sun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants