-
Notifications
You must be signed in to change notification settings - Fork 667
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
Added support for Voq Counters(SAI_SWITCH_STAT_PACKET_INTEGRITY_DROP,SAI_QUEUE_STAT_CREDIT_WD_DELETED_PACKETS) for Voq/Fabric switches #3322
Conversation
… SAI_QUEUE_ST�T_CREDIT_WD_DELETED_PACKETS) for Voq/Fabric switches Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
1a2c6df
to
6bbea96
Compare
@rlhui , please review it |
sonic-net/sonic-swss#3152 has the corresponding orchagent changes. |
b8a2ab0
to
bbd6eb8
Compare
Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
38b9984
to
6916c23
Compare
…coverage Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
6916c23
to
40a43ea
Compare
Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
c672248
to
e124bff
Compare
@saksarav-nokia Can you please share o/p for both commands ? |
Also, we may need to check on T0/T1 to make sure these changes don't break anything there. |
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.
Commented above
Vineet, Here is the output of the show commands ixre-egl-board29|asic0|Cpu0 VOQ0 6 720 0 0 0
ixre-egl-board29|asic0|Ethernet0 VOQ0 0 0 0 0 0 admin@ixre-egl-board29:~$ sudo ip netns exec asic1 show dropcounters counts
Ethernet16 X 0 0 0 0 |
In the supervisor:
|
I will add a check for switch_type as fabric or voq. |
Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
2e4db3b
to
cd9517e
Compare
or may be we can remove first 2 lines - switch type and switch level |
switch type is already removed. Don't you think having switch level helps the user? |
please add heading as "switch counters" and "interface counters". |
Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
…INTEGRITY_DROP,SAI_QUEUE_STAT_CREDIT_WD_DELETED_PACKETS) for Voq/Fabric switches (sonic-net#3322) What I did Added cli support to show SAI_SWITCH_STAT_PACKET_INTEGRITY_DROP counter in show dropcounter counts command and show SAI_QUEUE_STAT_CREDIT_WD_DELETED_PACKETS counters in show queue counter --voq command. How I did it Modified the dropstat and queuestat cli commands to show these new counters How to verify it Simulated the Packet integrity (CRC, RQP errors) and Credit Watchdog delete drops (disabled the TX for the ports and simulated the credit watchdog deletes) and verified that the show commands are showing the correct output from COUNTERS_DB. 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) 1)show dropcounter counts 2)show queue counter --voq Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
Cherry-pick PR to 202405: #3366 |
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! |
…INTEGRITY_DROP,SAI_QUEUE_STAT_CREDIT_WD_DELETED_PACKETS) for Voq/Fabric switches (sonic-net#3322) What I did Added cli support to show SAI_SWITCH_STAT_PACKET_INTEGRITY_DROP counter in show dropcounter counts command and show SAI_QUEUE_STAT_CREDIT_WD_DELETED_PACKETS counters in show queue counter --voq command. How I did it Modified the dropstat and queuestat cli commands to show these new counters How to verify it Simulated the Packet integrity (CRC, RQP errors) and Credit Watchdog delete drops (disabled the TX for the ports and simulated the credit watchdog deletes) and verified that the show commands are showing the correct output from COUNTERS_DB. 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) 1)show dropcounter counts 2)show queue counter --voq Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! |
5 similar comments
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! |
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! |
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! |
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! |
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! |
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
3 similar comments
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
@saksarav-nokia cherry pick PR didn't pass PR checker. Please check!!! Auto cherry pick PR will be closed in 3 days. |
…INTEGRITY_DROP,SAI_QUEUE_STAT_CREDIT_WD_DELETED_PACKETS) for Voq/Fabric switches (#3322) What I did Added cli support to show SAI_SWITCH_STAT_PACKET_INTEGRITY_DROP counter in show dropcounter counts command and show SAI_QUEUE_STAT_CREDIT_WD_DELETED_PACKETS counters in show queue counter --voq command. How I did it Modified the dropstat and queuestat cli commands to show these new counters How to verify it Simulated the Packet integrity (CRC, RQP errors) and Credit Watchdog delete drops (disabled the TX for the ports and simulated the credit watchdog deletes) and verified that the show commands are showing the correct output from COUNTERS_DB. 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) 1)show dropcounter counts 2)show queue counter --voq Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
What I did
Added cli support to show SAI_SWITCH_STAT_PACKET_INTEGRITY_DROP counter in show dropcounter counts command and show SAI_QUEUE_STAT_CREDIT_WD_DELETED_PACKETS counters in show queue counter --voq command.
How I did it
How to verify it
Simulated the Packet integrity (CRC, RQP errors) and Credit Watchdog delete drops (disabled the TX for the ports and simulated the credit watchdog deletes) and verified that the show commands are showing the correct output from COUNTERS_DB.
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)
1)show dropcounter counts
2)show queue counter --voq