Several fixes and updates for ecnconfig#2889
Merged
XuChen-MSFT merged 6 commits intosonic-net:masterfrom Jul 25, 2023
Merged
Conversation
|
Did you checked ecnconfig status for queue 2 and queue 6, when enable gemini in minigraph? |
Contributor
Author
|
@XuChen-MSFT Output in non-gemini mode: |
Allow non-lossless queues to be queried and updated. Remove entire wred_profile entry to activate a change to the SAI layer. If wred_profile was the only value and was removed, delete entire key entry. Check that a port is available before attempting an index access.
9fdabe5 to
b3e1978
Compare
Update mock DB syntax for wred_profile entries. Add UT support for expecting no wred profile to exist. Fix UT expectations.
pdhruv-marvell
pushed a commit
to pdhruv-marvell/sonic-utilities
that referenced
this pull request
Aug 23, 2023
* Update DB entry table ref syntax. Allow non-lossless queues to be queried and updated. Remove entire wred_profile entry to activate a change to the SAI layer. If wred_profile was the only value and was removed, delete entire key entry. Check that a port is available before attempting an index access. * Update mock DB syntax, fix UT. Update mock DB syntax for wred_profile entries. Add UT support for expecting no wred profile to exist. Fix UT expectations. * Add new lossy queue tests. * rm comment. * rm another comment. --------- Co-authored-by: Kevin Wang <65380078+kevinskwang@users.noreply.github.com>
8 tasks
Contributor
|
ADO:26804399 |
mssonicbld
pushed a commit
to mssonicbld/sonic-utilities
that referenced
this pull request
Mar 6, 2024
* Update DB entry table ref syntax. Allow non-lossless queues to be queried and updated. Remove entire wred_profile entry to activate a change to the SAI layer. If wred_profile was the only value and was removed, delete entire key entry. Check that a port is available before attempting an index access. * Update mock DB syntax, fix UT. Update mock DB syntax for wred_profile entries. Add UT support for expecting no wred profile to exist. Fix UT expectations. * Add new lossy queue tests. * rm comment. * rm another comment. --------- Co-authored-by: Kevin Wang <65380078+kevinskwang@users.noreply.github.com>
Collaborator
|
Cherry-pick PR to 202305: #3193 |
mssonicbld
pushed a commit
that referenced
this pull request
Mar 6, 2024
* Update DB entry table ref syntax. Allow non-lossless queues to be queried and updated. Remove entire wred_profile entry to activate a change to the SAI layer. If wred_profile was the only value and was removed, delete entire key entry. Check that a port is available before attempting an index access. * Update mock DB syntax, fix UT. Update mock DB syntax for wred_profile entries. Add UT support for expecting no wred profile to exist. Fix UT expectations. * Add new lossy queue tests. * rm comment. * rm another comment. --------- Co-authored-by: Kevin Wang <65380078+kevinskwang@users.noreply.github.com>
Contributor
|
@rbpittman are you able to help creating PR for 202311 branch? |
Contributor
Author
|
@yxieca Since this was merged in July of 2023, it's already in 202311 natively. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
How I did it
How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
ecnconfig -q 3 off
syslog:
sairedis.rec:
ecnconfig -q 3 on
sairedis.rec:
Updating non-lossless TCs, specifically a TC that doesn't have a queue entry and ensuring it returns to its original state when turned off:
Generic enabled profile confirming 'on' is reported:
Lossless TC 3 toggling with DB output: