Allow buffer profile apply after init#1099
Conversation
Signed-off-by: Wenda Ni <wenni@microsoft.com>
|
Can you please check this PR #515 ? |
|
@pavel-shirshov , he only change the log level, is that a concern? |
|
@lguohan |
lguohan
left a comment
There was a problem hiding this comment.
check the port is down or not. if it is down, then do not need to raise alert. if it is up, then send error message.
physical port is brought up Signed-off-by: Wenda Ni <wenni@microsoft.com>
Signed-off-by: Wenda Ni <wenni@microsoft.com>
Signed-off-by: Wenda Ni <wenni@microsoft.com>
Signed-off-by: Wenda Ni <wenni@microsoft.com>
|
retest this please |
* Allow buffer profile application after init (i.e., at run time) Signed-off-by: Wenda Ni <wenni@microsoft.com> * Address comment: Alert when a buffer profile is applied after the physical port is brought up Signed-off-by: Wenda Ni <wenni@microsoft.com> * Remove unnecessary space Signed-off-by: Wenda Ni <wenni@microsoft.com> * Correct logic Signed-off-by: Wenda Ni <wenni@microsoft.com> * Correct compile error Signed-off-by: Wenda Ni <wenni@microsoft.com>
* Allow buffer profile application after init (i.e., at run time) Signed-off-by: Wenda Ni <wenni@microsoft.com> * Address comment: Alert when a buffer profile is applied after the physical port is brought up Signed-off-by: Wenda Ni <wenni@microsoft.com> * Remove unnecessary space Signed-off-by: Wenda Ni <wenni@microsoft.com> * Correct logic Signed-off-by: Wenda Ni <wenni@microsoft.com> * Correct compile error Signed-off-by: Wenda Ni <wenni@microsoft.com>
…t#1099) - What I did There is a issue for counters after warm-reboot: If I clear counters by command "sonic-clear counters", then execute 'warm-reboot' and whenSONiC is restart, the counters showed with command "show interface counters" is still old counters before "sonic-clear". It is not the right counters because the counters file in '/tmp' is lost in warm-reboot process. - How I did it I fixed it by saving '/tmp/portstat-0' folders in '/host/' before executing 'warm-reboot', and restore the counters folders back to '/tmp/' after warm-reboot process is finished (in pull request sonic-net/sonic-buildimage#5346 ). - How to verify it Clear counters by command 'sonic-clear' sonic-clear counters sonic-clear dropcounters sonic-clear pfccounters sonic-clear queuecounters sonic-clear rifcounters Execute 'warm-reboot' Use command ‘show interface counters’ to see if the counters is right.
- Update SAI VoQ support (sonic-net#1107) … - Voq system (sonic-net#1081) … - [meta] Add support for ignored enum values (sonic-net#1099) - TPID SAI proposal (sonic-net#1089) … - ACL GRE key match (sonic-net#1076) … - Add IPv6 NS and NA Traps (sonic-net#1092) … - MACsec flow list attribute added in MACsec object (sonic-net#1095) … - Add Enterprise Number for IPFIX Report Type (sonic-net#1072) … - Provide TTL and QoS treatment during MPLS encap and decap (sonic-net#1079) - Create and Set for Tunnel Attributes (sonic-net#1086) …
* Allow buffer profile application after init (i.e., at run time) Signed-off-by: Wenda Ni <wenni@microsoft.com> * Address comment: Alert when a buffer profile is applied after the physical port is brought up Signed-off-by: Wenda Ni <wenni@microsoft.com> * Remove unnecessary space Signed-off-by: Wenda Ni <wenni@microsoft.com> * Correct logic Signed-off-by: Wenda Ni <wenni@microsoft.com> * Correct compile error Signed-off-by: Wenda Ni <wenni@microsoft.com>
What I did
Why I did it
How I verified it
On brcm dut
Details if related