Support for aggregrate VOQ Counters.#3163
Support for aggregrate VOQ Counters.#3163vivekverma-arista wants to merge 6 commits intosonic-net:masterfrom
Conversation
vmittal-msft
left a comment
There was a problem hiding this comment.
- 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 |
vmittal-msft
left a comment
There was a problem hiding this comment.
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] --voqfor 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