-
Notifications
You must be signed in to change notification settings - Fork 273
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?
sonic-sairedis : Wred stats feature changes on Sai-redis and Syncd #1234
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
b7384eb
to
e7764de
Compare
@kcudnik could you review and approve this PR |
e7764de
to
dff8dfb
Compare
https://dev.azure.com/mssonic/build/_build/results?buildId=708091&view=codecoverage-tab code is not covering enough code, please satisfy, also notice from not executed code, that you are not testing actual capability function |
778035b
to
2f2fe29
Compare
} | ||
|
||
stats_capability->count = 51; | ||
stats_capability->list[0].stat_enum = SAI_PORT_STAT_IF_IN_OCTETS; |
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.
Create static vector with all stars, and then copy values in a loop
2f2fe29
to
aa06842
Compare
aa06842
to
af08a7a
Compare
@@ -981,6 +981,8 @@ sai_status_t VirtualSwitchSaiInterface::queryStatsCapability( | |||
{ | |||
SWSS_LOG_ENTER(); | |||
|
|||
uint32_t i=0; |
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.
declare that internally in each for loop defininition, declaring it on function beign is old style C
1eec6a8
to
98119ce
Compare
* Stats capability query API support is added * Marvell VS support for query stats capability added Signed-off-by: rpmarvell <[email protected]>
e81d22b
to
f719b77
Compare
Details :
HLD : https://github.com/sonic-net/SONiC/blob/master/doc/qos/ECN_and_WRED_statistics_HLD.md
Expected order of pull-request commits :