-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* 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) …
What I did
Why I did it
How I verified it
On brcm dut
Details if related