[trim]: Add Packet Trimming Drop Counters to OA#3777
[trim]: Add Packet Trimming Drop Counters to OA#3777dgsudharsan merged 2 commits intosonic-net:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
f5f5128 to
ae2e41f
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ae2e41f to
eaf3f9a
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
eaf3f9a to
9027799
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
9027799 to
9549228
Compare
94742e7 to
09f8827
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@kperumalbfn / @r12f all checks are passed. Please help to merge |
|
hi @nazariig , do you mind to help pick this change to 202412? |
|
@r12f 202412 PR - Azure/sonic-swss.msft#130 please merge |
| SAI_QUEUE_STAT_DROPPED_PACKETS, | ||
| SAI_QUEUE_STAT_DROPPED_BYTES, | ||
| SAI_QUEUE_STAT_TRIM_PACKETS | ||
| SAI_QUEUE_STAT_TRIM_PACKETS, |
There was a problem hiding this comment.
@nazariig TRIM specific stats are introducing more new SAI errors on non TH5 platforms, do you have plan to address this? @lolyu @aaronpayment @pandurangan-arista FYI.
2025 Aug 19 06:08:38.448632 gd231 ERR syncd#syncd: [none] SAI_API_SWITCH:_brcm_sai_xgs_pkt_trim_get_mapped_counter:102 Packet trim feature is not supported
2025 Aug 19 06:08:38.448632 gd231 ERR syncd#syncd: [none] SAI_API_QUEUE:_brcm_sai_xgs_queue_pkt_trim_get_clear_ctr:164 Get Trim mapped counter failed with error -2.
2025 Aug 19 06:08:38.448632 gd231 ERR syncd#syncd: [none] SAI_API_QUEUE:_brcm_sai_cosq_stat_get:1970 Get Trim stats packets failed with error -2.
There was a problem hiding this comment.
@dhanasekar-arista since feature is not supported, please make sure SAI returns the relevant stats capabilities. Then counter polling won't take place. The capabilities check is already part of the flex counter infra
|
@nazariig would you please create a backport PR for 202505 as there is a conflict? |
|
Remove 202505 request label since packet trimming feature won't be included into 202505 branch. |
* [trim]: Add Packet Trimming Drop Counters to OA Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> * [trim]: Handle review comments Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> --------- Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
* [trim]: Add Packet Trimming Drop Counters to OA Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> * [trim]: Handle review comments Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> --------- Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
* [trim]: Add Packet Trimming Drop Counters to OA Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> * [trim]: Handle review comments Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> --------- Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
…)" This reverts commit 6b76077.
### Summary: Add packet trimming counter testcase phase1 ### Related PR - Add packet trimming drop counter test plan sonic-net/sonic-mgmt#19824 - Packet Trimming: Drop Counters HLD sonic-net/SONiC#2033 - [trim]: Add Packet Trimming Drop Counters YANG model sonic-net/sonic-buildimage#23422 - [trim]: Add Packet Trimming Drop Counters DB schema sonic-net/sonic-swss-common#1055 - [trim]: Add Packet Trimming Drop Counters to VS lib sonic-net/sonic-sairedis#1630 - [trim]: Add Packet Trimming Drop Counters to OA sonic-net/sonic-swss#3777 - [trim]: Add Packet Trimming Drop Counters CLI sonic-net/sonic-utilities#3993 ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] New Test case - [ ] Skipped for non-supported platforms - [ ] Test case improvement ### Back port request - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [x] 202505 ### Approach #### What is the motivation for this PR? #### How did you do it? #### How did you verify/test it? #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
### Summary: Add packet trimming counter testcase phase1 ### Related PR - Add packet trimming drop counter test plan sonic-net/sonic-mgmt#19824 - Packet Trimming: Drop Counters HLD sonic-net/SONiC#2033 - [trim]: Add Packet Trimming Drop Counters YANG model sonic-net/sonic-buildimage#23422 - [trim]: Add Packet Trimming Drop Counters DB schema sonic-net/sonic-swss-common#1055 - [trim]: Add Packet Trimming Drop Counters to VS lib sonic-net/sonic-sairedis#1630 - [trim]: Add Packet Trimming Drop Counters to OA sonic-net/sonic-swss#3777 - [trim]: Add Packet Trimming Drop Counters CLI sonic-net/sonic-utilities#3993 ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] New Test case - [ ] Skipped for non-supported platforms - [ ] Test case improvement ### Back port request - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [x] 202505 ### Approach #### What is the motivation for this PR? #### How did you do it? #### How did you verify/test it? #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
* [trim]: Add Packet Trimming Drop Counters to OA Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> * [trim]: Handle review comments Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> --------- Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
* [trim]: Add Packet Trimming Drop Counters to OA Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> * [trim]: Handle review comments Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> --------- Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
* [trim]: Add Packet Trimming Drop Counters to OA Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> * [trim]: Handle review comments Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> --------- Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
* [trim]: Add Packet Trimming Drop Counters to OA Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> * [trim]: Handle review comments Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> --------- Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com> Signed-off-by: Baorong Liu <96146196+baorliu@users.noreply.github.com>
Signed-off-by: Nazarii Hnydyn nazariig@nvidia.com
DEPENDS:
HLD: sonic-net/SONiC#2033
What I did
Why I did it
How I verified it
Details if related
A picture of a cute animal (not mandatory but encouraged)