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

[Reclaim buffer][202106] Common infrastructure update for reclaiming buffer #9323

Closed

Conversation

stephenxs
Copy link
Collaborator

Why I did it

This is to update the common sonic-buildimage infra for reclaiming buffer.

How I did it

  • Render zero_profiles.j2 to zero_profiles.json for vendors that support reclaiming buffer
    The zero profiles will be referenced in PR [Reclaim buffer][202106] Reclaim unused buffers by applying zero buffer profiles #9062 on Mellanox platforms and there will be test cases to verify the behavior there.
    Rendering is done here for passing azure pipeline.
  • Load zero_profiles.json when the dynamic buffer manager starts
  • Generate inactive port list to reclaim buffer

It depends on PR sonic-net/sonic-swss#2038

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@stephenxs stephenxs changed the title [Reclaim buffer] Common infrastructure update for reclaiming buffer [Reclaim buffer][202106] Common infrastructure update for reclaiming buffer Nov 19, 2021
@stephenxs stephenxs requested a review from neethajohn November 19, 2021 06:31
@stephenxs
Copy link
Collaborator Author

Can be cherry-picked from master. Close it.

@stephenxs stephenxs closed this Nov 19, 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.

1 participant