This is the second in a five-part series. In this series we https://thenewstack.io/catch-performance-regressions-in-ebpf-with-rust-intro/, the tools to work with it, why eBPF performance is important and how to track it with https://bencher.dev/docs/explanation/continuous-benchmarking. In this entry of the series, we will discuss how to create a basic eBPF XDP program in Rust using https://github.com/aya-rs/aya. All of the source code for the project is open source and is available https://github.com/bencherdev/bencher/tree/main/examples/ebpf.

Attach our fun_xdp eBPF XDP program to a network interface that was set by the iface command line argument to our binary.

Related Articles