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
cilium: various xdp related follow-ups #10910
Conversation
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. |
test-me-please |
ab3ec9a
to
ee37c1e
Compare
test-me-please |
unrelated vagrant issue:
|
test-me-please |
provisioning issue again:
|
test-me-please |
Hit flake #10821 |
test-me-please |
Hit flake #10821 |
test-focus K8sService.* |
Cilium-Tests-With-Kernel provision issue
|
test-with-kernel |
1b16636
to
e9e8711
Compare
test-focus K8sService.* |
vagrant issue again in CI... |
test-focus K8sService.* |
e9e8711
to
ffe1389
Compare
test-focus K8sService.* |
test-me-please |
vbox error in CI:
|
test-me-please |
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
test-me-please |
test-focus K8sService.* |