Skip to content

[portstat] Fix portstat show RX_UTIL over 100% for 100G#563

Merged
jleveque merged 1 commit intosonic-net:masterfrom
RichardWu-Hebut:master
Jul 29, 2019
Merged

[portstat] Fix portstat show RX_UTIL over 100% for 100G#563
jleveque merged 1 commit intosonic-net:masterfrom
RichardWu-Hebut:master

Conversation

@RichardWu-Hebut
Copy link
Contributor

       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]

- 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

           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]>
@jleveque
Copy link
Contributor

Retest this please

4 similar comments
@stcheng
Copy link
Contributor

stcheng commented Jul 17, 2019

Retest this please

@jleveque
Copy link
Contributor

Retest this please

@jleveque
Copy link
Contributor

Retest this please

@jleveque
Copy link
Contributor

Retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants