-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reclaim reserved buffer for unused ports #831
Reclaim reserved buffer for unused ports #831
Conversation
Signed-off-by: Stephen Sun <[email protected]>
78da8fe
to
6c89920
Compare
Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
@neethajohn would you please help to approve this HLD PR? Thanks. |
…jects in admin down flow Signed-off-by: Stephen Sun <[email protected]>
Suggest merging order:
The swss static mode PR (sonic-net/sonic-swss#2011) doesn't depend on any PR and can be merged at any time. Db migrator PR (sonic-net/sonic-utilities#1822) and build image Mellanox specific PR (sonic-net/sonic-buildimage#8768) can also be merged before swss dynamic mode PR (sonic-net/sonic-swss#1910). |
@neethajohn could you please help to review? |
@neethajohn kindly reminder, this PR needs to get it as most of the code is already merged. |
201911 PRs
Master PRs (currently draft)
202106 PRs
202012 PRs
Reclaim reserved buffer for unused ports.
Originally, the reserved buffer is reclaimed by removing buffer objects of the unused ports. However, this introduces inconsistency. Consider the following scenarios:
Now we have two scenarios with the same SONiC buffer configuration, resulting in different buffer configurations in ASIC.
To resolve this issue:
zero buffer profiles
are introduced to indicate 0 reserved size of a buffer object.The solution:
The zero profiles and pools will be handled in different ways between the dynamic and traditional buffer models.