cilium: various xdp related follow-ups#10910
Merged
Conversation
Member
borkmann
commented
Apr 9, 2020
- cilium status output
- CI tests
- Hide generic XDP for testing only
Remap the XDP generic option from "generic" into "testing-only". The reason is that we don't want to encourage users to run with generic XDP at this point but only with the fast native one instead. Generic XDP has several downside: - Still operates on skbs - Linearizes & unclones every skb - Bypasses GRO These are severe limitations which the native XDP mode does not have and could potentially make its operation slower than the tc ingress one. The generic XDP is however very useful for testing purpose and we would like to use it in our CI. Therefore, change it into an undocumented "testing-only" option value that we can use internally. For the --prefilter-mode, the ship has sailed on "generic" therefore we keep it intact and remap into "testing-only" internally. Simplify the documentation as well and remove the prior warning that generic XDP should not be used in a production environment. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Dump the XDP acceleration mode in the cilium status output in order to see if BPF was attached and in which XDP mode. The hidden generic option value is dumped as "GENERIC" here since in XDP context it's called generic XDP. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
Please set the appropriate release note label. |
3 similar comments
|
Please set the appropriate release note label. |
|
Please set the appropriate release note label. |
|
Please set the appropriate release note label. |
Member
Author
|
test-me-please |
ab3ec9a to
ee37c1e
Compare
Member
Author
|
test-me-please |
Member
Author
|
unrelated vagrant issue: |
Member
Author
|
test-me-please |
Member
Author
|
provisioning issue again: |
Member
Author
|
test-me-please |
brb
approved these changes
Apr 9, 2020
Member
Author
|
Hit flake #10821 |
Member
Author
|
test-focus K8sService.* |
Member
Author
|
test-me-please |
Member
Author
|
test-focus K8sService.* |
Member
Author
|
test-me-please |
Member
Author
|
Hit flake #10821 |
Member
Author
|
test-focus K8sService.* |
Member
Author
|
Cilium-Tests-With-Kernel provision issue |
Member
Author
|
test-with-kernel |
1b16636 to
e9e8711
Compare
Member
Author
|
test-focus K8sService.* |
Member
Author
|
vagrant issue again in CI... |
Member
Author
|
test-focus K8sService.* |
e9e8711 to
ffe1389
Compare
Member
Author
|
test-focus K8sService.* |
Member
Author
|
test-me-please |
Member
Author
|
vbox error in CI: |
Member
Author
|
test-me-please |
Member
Member
|
restart-ginkgo |
Avoid having to leave around stale XDP programs when the config changes. Therefore do the same as we do in tc which is to clean up prior state. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Add tests for generic XDP under DSR/SNAT/Hybrid modes to our CI and also test base functionality to make sure all the rest is working as expected when XDP is attached. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Add also tests for (external) TC under DSR/SNAT/Hybrid modes to our CI so they can be performed from the third host. So far we don't seem to test all of them (only for the metal LB case). Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
ffe1389 to
44cd7e9
Compare
Member
Author
|
test-me-please |
Member
Author
|
test-focus K8sService.* |
Member
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.