[portstat] Fix portstat show RX_UTIL over 100% for 100G#563
Merged
jleveque merged 1 commit intosonic-net:masterfrom Jul 29, 2019
Merged
[portstat] Fix portstat show RX_UTIL over 100% for 100G#563jleveque merged 1 commit intosonic-net:masterfrom
jleveque merged 1 commit intosonic-net:masterfrom
Conversation
When calc the RX_UTIL, currently it use hardcode 40G,
now change to get the real port speed via APP DB
Signed-off-by: Richard Wu <[email protected]>
stcheng
approved these changes
Jul 1, 2019
Contributor
|
Retest this please |
4 similar comments
Contributor
|
Retest this please |
Contributor
|
Retest this please |
Contributor
|
Retest this please |
Contributor
|
Retest this please |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Richard Wu [email protected]
- What I did
When test the RX_UTIL when 100G port with line rate, the RX_UTIL shows over 100%. port stats use default 40G to calc the RX_UTIL, now change to get the real time speed via APP DB
- How I did it
- How to verify it