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

[Reclaiming buffer][202012] Support reclaiming buffer in traditional buffer model #2063

Merged

Conversation

stephenxs
Copy link
Collaborator

What I did
It's to port #2011 to 202012
To reclaim reserved buffer.
As the way to do it differs among vendors, buffermgrd will:

  • Handle port admin down on Mellanox platform.
    • Not apply lossless buffer PG to an admin-down port
    • Remove lossless buffer PG (3-4) from a port when it is shut down.
  • Readd lossless buffer PG (3-4) to a port when a port is started up.

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

Why I did it
To support reclaiming reserved buffer when a port is shut down on Mellanox platform in traditional buffer model.

How I verified it

Regression test and vs test.

Details if related

@stephenxs stephenxs changed the title Support reclaiming buffer in traditional buffer model [Reclaiming buffer][202012] Support reclaiming buffer in traditional buffer model Dec 6, 2021
@stephenxs stephenxs marked this pull request as ready for review December 6, 2021 10:04
@liat-grozovik
Copy link
Collaborator

@neethajohn could you please review?

@liat-grozovik liat-grozovik merged commit 1b6ffba into sonic-net:202012 Dec 7, 2021
@stephenxs stephenxs deleted the reclaim-buffer-traditional-202012 branch December 7, 2021 22:48
qiluo-msft pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Dec 21, 2021
#### Why I did it

Update sonic-swss-common

54879741 [202012][schema] Add vnet route tunnel and advertise network tables for state_db (sonic-net/sonic-swss-common#563)
a5394f9d Update for BFD, default route table (sonic-net/sonic-swss-common#550)

Update sonic-swss

fbbe5bcc [202012][pfc_detect] fix RedisReply errors (sonic-net/sonic-swss#2078)
5762b0c2 [Reclaim buffer][202012] Reclaim unused buffer for dynamic buffer model (sonic-net/sonic-swss#1985)
33e9bd19 [Document][202012] Supply the missing ingress/egress port profile list in document (sonic-net/sonic-swss#2066)
1b6ffba1 [Reclaiming buffer][202012] Support reclaiming buffer in traditional buffer model (sonic-net/sonic-swss#2063)
afb33f16 [202012] Update default route status to state DB (sonic-net/sonic-swss#2009) (sonic-net/sonic-swss#2067)
b9c44f75 Common code update for reclaiming buffer (backport community PR sonic-net/sonic-swss#1996 to 202106/202012) (sonic-net/sonic-swss#2061)
cf5182d8 [request parser] Allow request parser to parse multiple values
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.

3 participants