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

Fix NewHtbClass #561

Merged
merged 1 commit into from
Sep 15, 2020
Merged

Fix NewHtbClass #561

merged 1 commit into from
Sep 15, 2020

Conversation

chenchun
Copy link
Contributor

  • Prio and Quantum should be set equal to the input params
  • Fix buffer and cbuffer due to incorrect hz

@chenchun
Copy link
Contributor Author

Fixes #560

@chenchun
Copy link
Contributor Author

Add a second commit to fix Xmittime which is also not equal the behavior of c library. C library converts time to uint32 to drop precision before multiply tick_in_usec. ref https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/tc/tc_core.c#n62

@vishvananda
Copy link
Owner

this lgtm, but can you squash it into commit please?

- Prio and Quantum should be set equal to the input params
- Fix buffer and cbuffer due to incorrect hz
- Fix Xmittime which is also not equal the behavior of c library.
C library converts time to uint32 to drop precision before multiply
tick_in_usec. ref https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/tc/tc_core.c#n62
@chenchun
Copy link
Contributor Author

done

@vishvananda vishvananda merged commit 339a215 into vishvananda:master Sep 15, 2020
@chenchun chenchun deleted the htb branch September 16, 2020 01:34
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.

2 participants