Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't update pools when ingress_lossless_pool is created but the init…
…ialization hasn't finished yet (sonic-net#1685) Bug: The buffer pools will be created after a short timer and then won't be updated until the initialization has finished. This is to avoid repeatedly updating buffer pools after BUFFER_PG and BUFFER_QUEUE have been created for each port. However, when the ingress_lossless_pool is created it will trigger the buffer pools to be updated for shared headroom pool. If this happens during intialization, it causes all the buffer pools created after ingress_lossless_pool won't be created until the initialization has been done. Fix: Don't trigger updating buffer pools when creating ingress_lossless_pool during intialization. Signed-off-by: Stephen Sun <[email protected]>
- Loading branch information