-
Notifications
You must be signed in to change notification settings - Fork 736
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
TC per-lcore tuning #720
Merged
Merged
TC per-lcore tuning #720
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
ywc689
commented
Mar 10, 2021
•
edited
Loading
edited
- Refactor TC module to be per-lcore.
- Fix crash problem when add/modify/del qsch/qcls dynamically with traffic bursting in.
- Fix inaccuracy traffic control problem of tbf caused by multi-thread contention of tokens.
- Schedule qsch per loop to make TC work properly.
Signed-off-by: ywc689 <ywc689@163.com>
Signed-off-by: ywc689 <ywc689@163.com>
Signed-off-by: ywc689 <ywc689@163.com>
Signed-off-by: ywc689 <ywc689@163.com>
Would this make QoS usable? |
Just some simple cases, such as traffic shaping and policing. I'll write a doc to show some use cases later. |
I think, thanks a lot! @ywc689 |
Signed-off-by: ywc689 <ywc689@163.com>
Signed-off-by: ywc689 <ywc689@163.com>
408fbae
to
4319a02
Compare
Signed-off-by: ywc689 <ywc689@163.com>
anonymous-zx
reviewed
Apr 8, 2021
include/linux_ipv6.h
Outdated
@@ -266,6 +266,18 @@ static inline int ipv6_addr_cmp(const struct in6_addr *a1, const struct in6_addr | |||
return memcmp(a1, a2, sizeof(struct in6_addr)); | |||
} | |||
|
|||
static inline int ipv6_addr_cmp_u128(const struct in6_addr *a1, const struct in6_addr *a2) |
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 function is duplicated with the upper one.
anonymous-zx
approved these changes
Apr 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
pr/accepted
the pr passed all review stages and await to be merged
pr/needs-confirmed
the feature in the pr is what we need,and list what cases should be checked in later stages
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.