Replies: 3 comments 3 replies
-
|
@fasaxc Thanks Shaun, great info! Can you also list the BPF_PROG_TYPE_* (and BPF_ATTACH_TYPE_* values if any) that Calico uses? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
@fasaxc for the "Packet redirection" do you use XDP_TX or what API? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@dthaler Got confirmation from @fasaxc that Calico uses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As discussed on the triage call, starting a thread to document the BPF features that we're using in Calico. Making these checkboxes so we can tick them off as they're supported...
BPF helper functions (general):
TC/XDP programs:
Connect-time load balancer (which runs in socket hooks):
Features and hooks that we make use of:
Map types:
libbpf functions:
We also have our own BPF syscall-based functions that we use for some operations; I think there are libbpf equivalents for most of these and we're generally transitioning over to libbpf over time:
Program types we use:
cgroup/connect4cgroup/sendmsg4et al; I can't remember the exact program type that maps to)It's a little harder to pin down all the attach types because they're abstracted by libbpf but here's my guess:
Beta Was this translation helpful? Give feedback.
All reactions