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

Enhance the default PFC detect/restore time calculation method #3033

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevinskwang
Copy link
Contributor

  • What I did Enhance the calculation method for default PFC detect/restore time, to be better suit for some platforms whose port number 32xN.

  • How I did it Use the port number divided by the DEFAULT_PORT_NUM directly

  • How to verify it Check on some platform whose port nubmer is 32 x N, run pfcwd start_default, check the detect/restore time should be increased 200ms

What I did

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

- What I did
Enhance the calculation method for default PFC detect/restore time, to be better suit for some platforms whose port number 32xN.

- How I did it
Use the port number divided by the DEFAULT_PORT_NUM directly

- How to verify it
Check on some platform whose port nubmer is 32 x N, run pfcwd start_default, check the detect/restore time should be increased 200ms

Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
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.

1 participant