-
Notifications
You must be signed in to change notification settings - Fork 543
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
[flexcounter]: add support to change port/queue counter poll interval #499
Conversation
Signed-off-by: Sihui Han <sihan@microsoft.com>
depends on sonic-net/sonic-swss-common#200 |
retest this please |
continue; | ||
} | ||
|
||
if (op == SET_COMMAND) |
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.
IFAIK if nothing is set, the default value of 1 second is used.
Then I think we also have to set the default back if the entry is deleted from DB.
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.
This entry only has set_command and no del command. We can always use set command to change the interval value.
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.
ok
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.
As comments
retest this please |
1 similar comment
retest this please |
continue; | ||
} | ||
|
||
if (op == SET_COMMAND) |
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.
ok
…all (sonic-net#499) fix wrong API type in internal_api_wait_for_response() add cmdline parse option "s" , otherwise syncd cannot be executed via -s option, system cannot be up with syncd
Signed-off-by: Sihui Han sihan@microsoft.com
What I did
Add support to change port/queue counter poll interval
Why I did it
How I verified it
Tested on DUT.
Details if related