This is an old revision of the document!
eBPF XDP Hooks
- Student: Ankur Kothiwal
- Mentors: Hiroki Sato hrs@freebsd.org and Ryan Stone rstone@freebsd.org
Implement eBPF XDP support to FreeBSD
The eBPF eXpress Data Path (XDP) allows eBPF programs to be run to filter received packets as early as possible, avoiding unnecessary processing overhead before the filter is run. The goal of this project is to extend an existing FreeBSD network driver (a virtual NIC like a VirtIO if_vtnet ) to be able to call into an eBPF program when processing a newly received packet. As in XDP the driver must PASS (accept and process normally), DROP, TX or REDIRECT the packet as specified by the program. eBPF helper functions and maps for aiding in packet filtering will also be implemented.