forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dynamic buffer calc][Mellanox] Fix bug: buffer over subscription in …
…buffer pool size calculation (sonic-net#1706) To calculate the buffer pool size, we need to accumulate all reserved memory and than subtract the sum from total available memory. In the current implementation, one part hasn’t been added to reserved memory, which causes the buffer pool size larger than it should be. To fix it, we need to add it to reserved memory. - What I did Fix buffer over subscription in the buffer pool calculation. - How I verified it Run regression and manual test Signed-off-by: Stephen Sun <stephens@nvidia.com>
- Loading branch information
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters