Skip to content

[Reclaim buffer] Common infrastructure update for reclaiming buffer#9133

Merged
liat-grozovik merged 5 commits intosonic-net:masterfrom
stephenxs:zero-profiles-base
Nov 24, 2021
Merged

[Reclaim buffer] Common infrastructure update for reclaiming buffer#9133
liat-grozovik merged 5 commits intosonic-net:masterfrom
stephenxs:zero-profiles-base

Conversation

@stephenxs
Copy link
Collaborator

@stephenxs stephenxs commented Nov 1, 2021

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] Reclaim unused buffers by applying zero buffer profiles #8768 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#1996 and advancing submodule #9288

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)

Loading
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.

7 participants