Skip to content
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

[counters] interface and pfc counters are shown negative after config… #3445

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AmitKaushik7
Copy link
Contributor

… reload

- What I did
During syncd docker init, initialize the interface and pfc counters to 0.
- How I did it
By clearing the counters values in /tmp/portstat*/* amd /tmp/pfcstat*/* files.
- How to verify it
For Interface counters-
Send traffic for a couple of minutes on few ports
Check the counters values using show interface counters,
Clear the counters "sow interface counters -c"
Perform config reload
Check the counters values using show interface counters, values are negative.

For PFC counters-
Create congestion on a port by sending traffic from 2 ports to 1 port on no-drop priorities
Check the counters values using show pfc counters
Clear the counters using "show pfc counters -c"
Perform config reload
Check the counters values using show pfc counters, values are negative.

- Description for the changelog
Initializes ps and pfcstat counters during docker initialization.

- A picture of a cute animal (not mandatory but encouraged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant