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