-
Notifications
You must be signed in to change notification settings - Fork 271
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
sonic-sairedis : Wred stats feature changes on Sai-redis and Syncd #1234
base: master
Are you sure you want to change the base?
Conversation
d8bbe32
to
5da8294
Compare
5da8294
to
838bc2e
Compare
please fix errors |
This PR is dependent on swss-common PR 777 as i have mentioned in the description. Hence the errors. Could you please review and approve the swss-common PR if possible..! Thank you |
838bc2e
to
8d57f14
Compare
please fix build errors |
sonic-sairedis is dependent on sonic-swss-common PR https://github.com/sonic-net/sonic-swss-common/pull/777 . |
Hi @rpmarvell |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@rpmarvell , even swss-common changes are merged, sairedis CI is still failing. Please check. |
8d57f14
to
6b6d297
Compare
I have addressed your review comment. Thank you! |
68b4d42
to
380553f
Compare
fc7a15e
to
77c47d4
Compare
58ada88
to
1628881
Compare
@kcudnik : the vs tests are failing due to the following permission issue, could you help resolve this issue. sh: 1: ./scripts/pahole-version.sh: Permission denied |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
6ad4575
to
e945f69
Compare
@rpmarvell Could you rebase to master and fix the build issues. |
f8ef4db
to
295d7b1
Compare
@@ -459,10 +459,6 @@ namespace saimeta | |||
_Out_ uint64_t *counters, | |||
_In_ sai_stats_mode_t mode); | |||
|
|||
sai_status_t meta_validate_query_stats_capability( |
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.
Why this is removed ?
return SAI_STATUS_BUFFER_OVERFLOW; | ||
} | ||
|
||
stats_capability->count = 51; |
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.
Please use std vector with declared values of that and then assign in loop
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.
I have picked only the Ether/If/port in/out and wred stat_enums from the sai_port_stat_t. Hence we need to have unique assignment of these statistics. Please note that i would prefer this way unless it is mandatory to add all the stats in sai_port_stat_t in the capability list.
295d7b1
to
e684dbc
Compare
* Stats capability query API support is added * Marvell VS support for query stats capability added Signed-off-by: rpmarvell <rperumal@marvell.com>
e684dbc
to
eb9d0fd
Compare
@rpmarvell could you check the code coverage pipeline failure? |
@rpmarvell Could you take care of code coverage by adding more tests for the changes? We could merge all WRED stats related changes for 202411 release. |
@rpmarvell Could you resolve the conflicts and check the code coverage. We need to merge this PR first before sonic-swss PRs to avoid build breakage. |
Details :
HLD : https://github.com/sonic-net/SONiC/blob/ebcd2a4a987f1d6027cd57677dc6806b8a9adcdb/doc/qos/ECN_and_WRED_statistics_HLD.md#show-interface-counters-cli-output-on-a-wred-drop-statistics-supported-platform
The Build is failing in this review because of the swss-common-dependency at PR : sonic-net/sonic-swss-common#777
Expected order of pull-request commits :