Commit edfea27
Fix maximum headroom check failure (sonic-net#2948)
The accumulative headroom on a port is compared with the maximum headroom supported on the port
whenever a buffer priority group is created/updated.
This depends on the maximum headroom being exposed to the STATE_DB during orchagent initialization.
However, in the cold reboot, orchagent starts slow which prevents the threshold from being exposed on time.
In this case, the buffer manager is not able to perform the headroom check
and the buffer orchagent should handle the possible failure from SAI in case the accumulative headroom exceeds the threshold.1 parent 19affd3 commit edfea27
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
624 | 638 | | |
625 | 639 | | |
626 | 640 | | |
| |||
0 commit comments