Commit aac71e6
authored
Don't update pools when ingress_lossless_pool is created but the initialization 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]>1 parent ae5f051 commit aac71e6
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
1004 | | - | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
1005 | 1008 | | |
1006 | 1009 | | |
1007 | 1010 | | |
| |||
0 commit comments