[counter] Support gearbox counters#2218
Merged
jimmyzhai merged 8 commits intosonic-net:masterfrom May 28, 2022
Merged
Conversation
2. Poll oper_status for gearbox system/line side port
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
This pull request fixes 1 alert when merging 107bc08 into 0e5e7ba - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging 6e7aeb3 into 4d6fa42 - view on LGTM.com fixed alerts:
|
Pterosaur
approved these changes
May 27, 2022
yxieca
pushed a commit
that referenced
this pull request
Jun 15, 2022
1/ Enable gearbox port counter collection in GB_COUNTERS_DB 2/ Enable gearbox macsec counter collection in GB_COUNTERS_DB
jimmyzhai
added a commit
to sonic-net/sonic-utilities
that referenced
this pull request
Jun 30, 2022
What I did To support gearbox port counter in CLI, following sonic-net/sonic-swss#2218 and sonic-net/sonic-swss-common#622. How I did it Use swsscommon CounterTable API and PortCounter type, covering different underlying switch architecture, asic-only, asic+gearbox.
preetham-singh
pushed a commit
to preetham-singh/sonic-swss
that referenced
this pull request
Aug 6, 2022
1/ Enable gearbox port counter collection in GB_COUNTERS_DB 2/ Enable gearbox macsec counter collection in GB_COUNTERS_DB
malletvapid23
added a commit
to malletvapid23/Sonic-Utility
that referenced
this pull request
Aug 3, 2023
What I did To support gearbox port counter in CLI, following sonic-net/sonic-swss#2218 and sonic-net/sonic-swss-common#622. How I did it Use swsscommon CounterTable API and PortCounter type, covering different underlying switch architecture, asic-only, asic+gearbox.
Janetxxx
pushed a commit
to Janetxxx/sonic-swss
that referenced
this pull request
Nov 10, 2025
1/ Enable gearbox port counter collection in GB_COUNTERS_DB 2/ Enable gearbox macsec counter collection in GB_COUNTERS_DB
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.
What I did
1/ Enable gearbox port counter collection in GB_COUNTERS_DB
2/ Enable gearbox macsec counter collection in GB_COUNTERS_DB
Why I did it
Support the missing features of gearbox port and macsec counter
How I verified it
Details if related