[QoS]SAI_PORT_STAT_IN/OUT_DROPPED_PKTS counters skipped read for dnx platform#13453
[QoS]SAI_PORT_STAT_IN/OUT_DROPPED_PKTS counters skipped read for dnx platform#13453ansrajpu-git wants to merge 5 commits intosonic-net:masterfrom
Conversation
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
|
@vmittal-msft ,Please review |
|
Is following handling the same issue ? then we can mark one as duplicate of other. |
@vmittal-msft , Closing this PR as its duplicate of PR -#14743 and tested this for t2-chassis.The results looks good. |
Description of PR
SAI_PORT_STAT_IN/OUT_DROPPED_PKTS is not supported for DNX. #CS00012344046
Added a check in sonic-mgmt qos test for dnx , not to query this counter.
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
The sai-thrift_read_port_counters function will update the list for dnx and then read the counters.
What is the motivation for this PR?
How did you do it?
The sai-thrift_read_port_counters function will update the list for dnx and then read the counters.
The test cases are updated accordingly in sai_qos_tests.py
How did you verify/test it?
Executed the qos test and verify the counters are read correctly.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation