Skip to content
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

Merged
merged 1 commit into from
May 18, 2018

Conversation

sihuihan88
Copy link
Contributor

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

Signed-off-by: Sihui Han <sihan@microsoft.com>
@sihuihan88
Copy link
Contributor Author

depends on sonic-net/sonic-swss-common#200

@lguohan
Copy link
Contributor

lguohan commented May 14, 2018

retest this please

continue;
}

if (op == SET_COMMAND)
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Collaborator

@marian-pritsak marian-pritsak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As comments

@sihuihan88
Copy link
Contributor Author

retest this please

1 similar comment
@lguohan
Copy link
Contributor

lguohan commented May 17, 2018

retest this please

continue;
}

if (op == SET_COMMAND)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@sihuihan88 sihuihan88 merged commit 8c23538 into sonic-net:master May 18, 2018
@sihuihan88 sihuihan88 deleted the dev/sihan/interval branch May 18, 2018 17:30
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants