-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
datapath: Move XDP handling from bpf/init.sh to agent #15497
Merged
Merged
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
brb
added
the
release-note/minor
This PR changes functionality that users may find relevant to operating Cilium.
label
Mar 29, 2021
test-me-please |
christarazi
reviewed
Mar 29, 2021
brb
force-pushed
the
pr/brb/compile-bpf-xdp-in-go
branch
from
March 30, 2021 10:15
fde8a3c
to
4d3789a
Compare
@brb I've changed the release note label to |
aanm
added
release-note/misc
This PR makes changes that have no direct user impact.
and removed
release-note/minor
This PR changes functionality that users may find relevant to operating Cilium.
labels
Mar 30, 2021
test-me-please |
christarazi
approved these changes
Mar 30, 2021
aanm
approved these changes
Mar 30, 2021
kkourt
approved these changes
Mar 31, 2021
test-me-please |
pchaigno
added
the
dont-merge/needs-rebase
This PR needs to be rebased because it has merge conflicts.
label
Apr 6, 2021
This commit moves obsolete XDP programs unloading from bpf/init.sh to Go. The main motivation for it is that we will move all XDP handling bits from init.sh to Go, as we will need to reload the XDP program during runtime. Also, in the future we would like to eliminate init.sh. Signed-off-by: Martynas Pumputis <m@lambda.lt>
This commit moves bpf_xdp.c compilation from bpf/init.sh to Go. The same motivation as in the previous commit applies. In addition, it extends "progInfo" struct to accept extra arguments for compilation. Signed-off-by: Martynas Pumputis <m@lambda.lt>
brb
force-pushed
the
pr/brb/compile-bpf-xdp-in-go
branch
from
April 9, 2021 05:38
4d3789a
to
f885386
Compare
This commit completely removes XDP handling from bpf/init.sh by moving the loading of it into the agent. The cidrmap removal is moved to the place where we delete all disabled BPF maps. Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Martynas Pumputis <m@lambda.lt>
test-net-next |
brb
removed
the
dont-merge/needs-rebase
This PR needs to be rebased because it has merge conflicts.
label
Apr 9, 2021
brb
added
the
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
label
Apr 9, 2021
test-me-please |
Marking the PR as ready-to-merge. |
Do we have an issue opened for that one? I'm seeing a lot of similar flakes, but it's unclear if some are the same underlying cause. |
This was referenced Apr 28, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/misc
This PR makes changes that have no direct user impact.
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.
Please see commit msgs.
This is required for the upcoming PCAP tracing integration, as we will need to reload the XDP program during runtime.