-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
area/datapathImpacts bpf/ or low-level forwarding details, including map management and monitor messages.Impacts bpf/ or low-level forwarding details, including map management and monitor messages.area/loaderImpacts the loading of BPF programs into the kernel.Impacts the loading of BPF programs into the kernel.kind/enhancementThis would improve or streamline existing functionality.This would improve or streamline existing functionality.
Description
Similar to #20739 where we implement cgroup attachments using bpf_link, the same can now be done for XDP using https://pkg.go.dev/github.com/cilium/ebpf/link#AttachXDP.
We can pin XDP links to /sys/fs/bpf/cilium/xdp/<ifname>
. Cilium 1.14 and 1.13 need to be taught to remove a file at this location before attempting to attach XDP programs using netlink.
Metadata
Metadata
Assignees
Labels
area/datapathImpacts bpf/ or low-level forwarding details, including map management and monitor messages.Impacts bpf/ or low-level forwarding details, including map management and monitor messages.area/loaderImpacts the loading of BPF programs into the kernel.Impacts the loading of BPF programs into the kernel.kind/enhancementThis would improve or streamline existing functionality.This would improve or streamline existing functionality.