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][202012] Common code update #2061

Merged

Conversation

stephenxs
Copy link
Collaborator

This is to backport #1996 to 202012.

What I did
Common code update for reclaiming buffer.

  1. Loading zero_profiles when dynamic buffer manager starting
    The buffer manager won't consume it for now. This is to pass Azure CI.
  2. Support removing a buffer pool.
  3. Support exposing maximum PGs and queues per port
  4. Support transmit between bitmap and map string
  5. Change the log severity from ERROR to NOTICE when parsing buffer profile from buffer profile list failed. Typically this can be resolved by retrying.
    The severity of similar log when parsing buffer PG and queue is already NOTICE.

Signed-off-by: Stephen Sun stephens@nvidia.com

Why I did it

To split large PR into smaller ones and help pass CI.

How I verified it

vs test and regression test.

Details if related

@stephenxs stephenxs changed the title [Reclaim buffer][202106] Common code update [Reclaim buffer][202012] Common code update Dec 3, 2021
@stephenxs
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik merged commit b9c44f7 into sonic-net:202012 Dec 7, 2021
@stephenxs stephenxs deleted the reclaim-buffer-base-202012 branch December 7, 2021 12:22
@neethajohn
Copy link
Contributor

@stephenxs, can you update this PR in the HLD list?

@stephenxs
Copy link
Collaborator Author

@stephenxs, can you update this PR in the HLD list?

Done.

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.

4 participants