Use libbpf instead of iproute2 to load eBPF programs #2407
Labels
ebpf
Topics related to the eBPF back end
enhancement
This topic discusses an improvement to existing compiler code.
The dependency on iproute2 and tc causes some issues when loading eBPF programs. Different versions of Ubuntu package different versions of iproute2, which offers different levels of support for eBPF. In addition, there seems to be some problems trying to load more advanced map types such as LPM_TRIE maps.
libbpf offers an API to load and manage eBPF programs. It might make sense to write a small loader that takes care of attaching an eBPF program to an interface.
The text was updated successfully, but these errors were encountered: