-
Notifications
You must be signed in to change notification settings - Fork 663
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
Support for aggregrate VOQ Counters. #3163
Conversation
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.
- Based on my understanding,
- Sysport is the one where VoQ pointing to and we are aggregating the stats for ?
- fap id is the source asics where we are getting the count and aggregating for all faps ?
- idx is the VoQ id 0-7 ? or real VoQ id ?
- Do we support "show queue counter --voq" without any interface info ?
- Can you please add test case for this ?
Yes the understanding of the key is correct. Refer https://github.com/vivekverma-arista/SONiC/blob/aggVoq/doc/voq/aggregate_voq_counters.md#database-changes for more details.
|
When the Line card is reset or goes offlline, are these counters cleared from SUP?. |
We are not doing anything explicit to clear this, but when the LC comes up online, it will overwrite the counters for it's own VOQs so it will happen naturally. So aggregation on SSI swss changes -> sonic-net/sonic-swss#3271 |
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.
We are waiting for HLD to be finalized before approving PRs.
New PR raised as approach got changed: #3617 |
What I did
Added CLI support for aggregate VOQ counters according to HLD #1578
How I did it
Extended the existing CLI command
show queue counters [interface] --voq
for the SSI.How to verify it
Sent traffic destined to egress out of different queues of a interface through multiple ingress interface chosen across FSIs and verified that the command displays the correct aggregate view of the counters when run from the SSI
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
Should merge after #908, #20057 and #3271
Tracked by #1543
HLD: #1578