{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T17:41:41Z","timestamp":1795196501551,"version":"4.10.3"},"reference-count":70,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2020,2,6]],"date-time":"2020-02-06T00:00:00Z","timestamp":1580947200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Comput. Surv."],"published-print":{"date-parts":[[2021,1,31]]},"abstract":"<jats:p>Extended Berkeley Packet Filter (eBPF) is an instruction set and an execution environment inside the Linux kernel. It enables modification, interaction, and kernel programmability at runtime. eBPF can be used to program the eXpress Data Path (XDP), a kernel network layer that processes packets closer to the NIC for fast packet processing. Developers can write programs in C or P4 languages and then compile to eBPF instructions, which can be processed by the kernel or by programmable devices (e.g., SmartNICs). Since its introduction in 2014, eBPF has been rapidly adopted by major companies such as Facebook, Cloudflare, and Netronome. Use cases include network monitoring, network traffic manipulation, load balancing, and system profiling. This work aims to present eBPF to an inexpert audience, covering the main theoretical and fundamental aspects of eBPF and XDP, as well as introducing the reader to simple examples to give insight into the general operation and use of both technologies.<\/jats:p>","DOI":"10.1145\/3371038","type":"journal-article","created":{"date-parts":[[2020,2,6]],"date-time":"2020-02-06T16:54:04Z","timestamp":1581008044000},"page":"1-36","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":273,"title":["Fast Packet Processing with eBPF and XDP"],"prefix":"10.1145","volume":"53","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-9152-4114","authenticated-orcid":false,"given":"Marcos A. M.","family":"Vieira","sequence":"first","affiliation":[{"name":"Universidade Federal de Minas Gerais, Belo Horizonte, MG, Brazil"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Matheus S.","family":"Castanho","sequence":"additional","affiliation":[{"name":"Universidade Federal de Minas Gerais, Belo Horizonte, MG, Brazil"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Racyus D. G.","family":"Pac\u00edfico","sequence":"additional","affiliation":[{"name":"Universidade Federal de Minas Gerais, Belo Horizonte, MG, Brazil"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Elerson R. S.","family":"Santos","sequence":"additional","affiliation":[{"name":"Universidade Federal de Minas Gerais, Belo Horizonte, MG, Brazil"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Eduardo P. M. C\u00e2mara","family":"J\u00fanior","sequence":"additional","affiliation":[{"name":"Universidade Federal de Minas Gerais, Belo Horizonte, MG, Brazil"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9050-3001","authenticated-orcid":false,"given":"Luiz F. M.","family":"Vieira","sequence":"additional","affiliation":[{"name":"Universidade Federal de Minas Gerais, Belo Horizonte, MG, Brazil"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,2,6]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"2019. bpf: Increase Complexity Limit and Maximum Program Size. Retrieved from https:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/davem\/net-next.git\/commit\/?id&equals;c04  2019. bpf: Increase Complexity Limit and Maximum Program Size. Retrieved from https:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/davem\/net-next.git\/commit\/?id&equals;c04"},{"key":"e_1_2_1_2_1","volume-title":"Linux Kernel Developers","year":"2019"},{"key":"e_1_2_1_3_1","unstructured":"2019. XDP Project Repository. Retrieved from https:\/\/github.com\/xdp-project\/xdp-project.  2019. XDP Project Repository. Retrieved from https:\/\/github.com\/xdp-project\/xdp-project."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/NETSOFT.2017.8004208"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3243157.3243161"},{"key":"e_1_2_1_6_1","volume-title":"Proceedings of the INFOCOM IEEE Conference on Computer Communications Workshops (INFOCOM WORKSHOPS\u201918)","author":"Baidya S.","year":"2018"},{"key":"e_1_2_1_7_1","unstructured":"BCC. 2019. BPF Compiler Collection. Retrieved from https:\/\/github.com\/iovisor\/bcc.  BCC. 2019. BPF Compiler Collection. Retrieved from https:\/\/github.com\/iovisor\/bcc."},{"key":"e_1_2_1_8_1","unstructured":"BCC. 2019. BPF Program Types. Retrieved from https:\/\/github.com\/iovisor\/bcc\/blob\/master\/docs\/kernel-versions.md#program-types.  BCC. 2019. BPF Program Types. Retrieved from https:\/\/github.com\/iovisor\/bcc\/blob\/master\/docs\/kernel-versions.md#program-types."},{"key":"e_1_2_1_9_1","unstructured":"BCC. 2019. XDP Compatible Drivers. Retrieved from https:\/\/github.com\/iovisor\/bcc\/blob\/master\/docs\/kernel-versions.md#xdp.  BCC. 2019. XDP Compatible Drivers. Retrieved from https:\/\/github.com\/iovisor\/bcc\/blob\/master\/docs\/kernel-versions.md#xdp."},{"key":"e_1_2_1_10_1","volume-title":"ACM SIGCOMM 2018 Tutorials (SIGCOMM'18)","author":"Beckett David","year":"2018"},{"key":"e_1_2_1_11_1","volume-title":"Proceedings of the Netdev 2.1 Technical Conference on Linux Networking. 1--5.","author":"Bertin Gilberto","year":"2017"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3234200.3234228"},{"key":"e_1_2_1_13_1","volume-title":"bpf","author":"Borkmann Daniel"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/2656877.2656890"},{"key":"e_1_2_1_15_1","unstructured":"Autores bpftool. 2018. Manual Bpftool. Retrieved from https:\/\/elixir.bootlin.com\/linux\/v4.18-rc1\/ source\/tools\/bpf\/bpftool\/Documentation\/bpftool.rst.  Autores bpftool. 2018. Manual Bpftool. Retrieved from https:\/\/elixir.bootlin.com\/linux\/v4.18-rc1\/ source\/tools\/bpf\/bpftool\/Documentation\/bpftool.rst."},{"key":"e_1_2_1_16_1","unstructured":"bpftrace. 2019. High-level Tracing Language for Linux eBPF. Retrieved from https:\/\/github.com\/iovisor\/bpftrace.  bpftrace. 2019. High-level Tracing Language for Linux eBPF. Retrieved from https:\/\/github.com\/iovisor\/bpftrace."},{"key":"e_1_2_1_17_1","first-page":"4","volume-title":"Compiling","author":"Budiu Mihai"},{"key":"e_1_2_1_18_1","unstructured":"Cilium. 2018. Cilium 1.0: Bringing the BPF Revolution to Kubernetes Networking and Security. Retrieved from https:\/\/cilium.io\/blog\/2018\/04\/24\/cilium-10\/.  Cilium. 2018. Cilium 1.0: Bringing the BPF Revolution to Kubernetes Networking and Security. Retrieved from https:\/\/cilium.io\/blog\/2018\/04\/24\/cilium-10\/."},{"key":"e_1_2_1_19_1","volume-title":"BPF and XDP Reference Guide. Retrieved","year":"2019"},{"key":"e_1_2_1_20_1","volume-title":"Cilium: API-aware Networking and Security. Retrieved","year":"2019"},{"key":"e_1_2_1_21_1","volume-title":"BPF: The Universal In-kernel Virtual Machine.","author":"Corbet Jonathan","year":"2014"},{"key":"e_1_2_1_22_1","unstructured":"DPDK. 2019. AF_XDP Poll Mode Driver. Retrieved from https:\/\/doc.dpdk.org\/guides\/nics\/af_xdp.html.  DPDK. 2019. AF_XDP Poll Mode Driver. Retrieved from https:\/\/doc.dpdk.org\/guides\/nics\/af_xdp.html."},{"key":"e_1_2_1_23_1","unstructured":"DPDK. 2019. Berkeley Packet Filter Library. Retrieved from https:\/\/doc.dpdk.org\/guides\/prog_guide\/bpf_lib.html.  DPDK. 2019. Berkeley Packet Filter Library. Retrieved from https:\/\/doc.dpdk.org\/guides\/prog_guide\/bpf_lib.html."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3234200.3234213"},{"key":"e_1_2_1_25_1","unstructured":"Eric Dumazet. 2011. A JIT for Packet Filters. Retrieved from https:\/\/lwn.net\/Articles\/437981\/.  Eric Dumazet. 2011. A JIT for Packet Filters. Retrieved from https:\/\/lwn.net\/Articles\/437981\/."},{"key":"e_1_2_1_26_1","unstructured":"Facebook. 2018. Katran Source Code Repository. Retrieved from https:\/\/github.com\/facebookincubator\/katran.  Facebook. 2018. Katran Source Code Repository. Retrieved from https:\/\/github.com\/facebookincubator\/katran."},{"key":"e_1_2_1_27_1","unstructured":"John Fastabend. 2018. [RFC PATCH 00\/16] bpf Bounded Loop Support Work in Progress. Retrieved from https:\/\/lwn.net\/ml\/netdev\/20180601092646.15353.28269.stgit@john-Precision-Tower-5810\/.  John Fastabend. 2018. [RFC PATCH 00\/16] bpf Bounded Loop Support Work in Progress. Retrieved from https:\/\/lwn.net\/ml\/netdev\/20180601092646.15353.28269.stgit@john-Precision-Tower-5810\/."},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/2602204.2602219"},{"key":"e_1_2_1_29_1","unstructured":"C. Filsfils S. Previdi L. Ginsberg B. Decraene S. Litkowski and R. Shakir. 2018. Segment Routing Architecture. RFC 8402. RFC Editor.  C. Filsfils S. Previdi L. Ginsberg B. Decraene S. Litkowski and R. Shakir. 2018. Segment Routing Architecture. RFC 8402. RFC Editor."},{"key":"e_1_2_1_30_1","unstructured":"gobpf. 2019. Go Bindings for Creating BPF Programs. Retrieved from https:\/\/github.com\/iovisor\/gobpf.  gobpf. 2019. Go Bindings for Creating BPF Programs. Retrieved from https:\/\/github.com\/iovisor\/gobpf."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3281411.3281443"},{"key":"e_1_2_1_32_1","volume-title":"Retrieved","year":"2019"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPSR.2015.7483106"},{"key":"e_1_2_1_34_1","volume-title":"Proceedings of the Symposium on Architectures for Networking and Communications Systems (ANCS\u201917)","author":"Jouet Simon","year":"2017"},{"key":"e_1_2_1_35_1","volume-title":"BFPC 8 Linux Manual Page. Retrieved","author":"Kerrisk Michael","year":"2019"},{"key":"e_1_2_1_36_1","volume-title":"Hunter","author":"Koch Jason","year":"2019"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/354871.354874"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/2934872.2934897"},{"key":"e_1_2_1_39_1","unstructured":"libbpf. 2018. Libbpf Source Code. Retrieved from https:\/\/elixir.bootlin.com\/linux\/v4. 18-rc1\/source\/tools\/lib\/bpf.  libbpf. 2018. Libbpf Source Code. Retrieved from https:\/\/elixir.bootlin.com\/linux\/v4. 18-rc1\/source\/tools\/lib\/bpf."},{"key":"e_1_2_1_40_1","unstructured":"libbpf. 2019. Stand-alone Libbpf. Retrieved from https:\/\/github.com\/libbpf\/libbpf.  libbpf. 2019. Stand-alone Libbpf. Retrieved from https:\/\/github.com\/libbpf\/libbpf."},{"key":"e_1_2_1_41_1","volume-title":"Net: Xdp: Support Xdp Generic on Virtual Devices.","year":"2017"},{"key":"e_1_2_1_42_1","unstructured":"Linux Foundation. 2015. Data Plane Development Kit (DPDK). Retrieved from http:\/\/www.dpdk.org.  Linux Foundation. 2015. Data Plane Development Kit (DPDK). Retrieved from http:\/\/www.dpdk.org."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1109\/COMST.2015.2402617"},{"key":"e_1_2_1_44_1","unstructured":"Alan Maguire. 2019. Notes on BPF (1)\u2014A Tour of Program Types. Retrieved from https:\/\/blogs.oracle.com\/linux\/notes-on-bpf-1.  Alan Maguire. 2019. Notes on BPF (1)\u2014A Tour of Program Types. Retrieved from https:\/\/blogs.oracle.com\/linux\/notes-on-bpf-1."},{"key":"e_1_2_1_45_1","unstructured":"Marek Majkowski. 2019. Cloudflare Architecture and How BPF Eats the World. Retrieved from https:\/\/blog.cloudflare.com\/cloudflare-architecture-and-how-bpf-eats-the-world\/.  Marek Majkowski. 2019. Cloudflare Architecture and How BPF Eats the World. Retrieved from https:\/\/blog.cloudflare.com\/cloudflare-architecture-and-how-bpf-eats-the-world\/."},{"key":"e_1_2_1_46_1","volume-title":"Proceedings of the USENIX","author":"McCanne Steven","year":"1993"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPSR.2018.8850758"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1109\/COMST.2015.2477041"},{"key":"e_1_2_1_49_1","volume-title":"BPF Verifier Overview. Retrieved","author":"Miller David","year":"2019"},{"key":"e_1_2_1_50_1","volume-title":"Proceedings of the 11th ACM Symposium on Operating Systems Principles (SOSP\u201987)","author":"Mogul J."},{"key":"e_1_2_1_51_1","volume-title":"All-Out Programmability in Linux: An Introduction to BPF as a Monitoring Tool. Retrieved","author":"Monnet Quentin","year":"2019"},{"key":"e_1_2_1_52_1","unstructured":"Quentin Monnet. 2019. Rust Virtual Machine and JIT Compiler for eBPF Programs. Retrieved from https:\/\/github.com\/qmonnet\/rbpf.  Quentin Monnet. 2019. Rust Virtual Machine and JIT Compiler for eBPF Programs. Retrieved from https:\/\/github.com\/qmonnet\/rbpf."},{"key":"e_1_2_1_53_1","unstructured":"Netronome. 2019. Sample BPF Offload Apps. Retrieved from https:\/\/github.com\/Netronome\/bpf-samples.  Netronome. 2019. Sample BPF Offload Apps. Retrieved from https:\/\/github.com\/Netronome\/bpf-samples."},{"key":"e_1_2_1_54_1","volume-title":"Linux Kernel Source Code. Retrieved","year":"2019"},{"key":"e_1_2_1_55_1","volume-title":"Linux Kernel Source Code. Retrieved","year":"2019"},{"key":"e_1_2_1_56_1","unstructured":"ply. 2019. Dynamic Tracing in Linux. Retrieved from https:\/\/github.com\/iovisor\/ply.  ply. 2019. Dynamic Tracing in Linux. Retrieved from https:\/\/github.com\/iovisor\/ply."},{"key":"e_1_2_1_57_1","volume-title":"Tigera adds eBPF Support to Calico. Retrieved","author":"Pollitt Alex","year":"2019"},{"key":"e_1_2_1_58_1","volume-title":"Proceedings of the 2012 USENIX Annual Technical Conference (USENIX ATC\u201912)","author":"Rizzo Luigi","year":"2012"},{"key":"e_1_2_1_59_1","volume-title":"Bounded Loops in BPF for the 5.3 Kernel. Retrieved","author":"Rybczy\u0144ska Marta","year":"2019"},{"key":"e_1_2_1_60_1","volume-title":"Retrieved","author":"Schulist Jay","year":"2019"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491185.2491190"},{"key":"e_1_2_1_62_1","unstructured":"Alexei Starovoitov. 2015. bpf: Introduce bpf_tail_call() Helper. Retrieved from https:\/\/lwn.net\/Articles\/645169\/.  Alexei Starovoitov. 2015. bpf: Introduce bpf_tail_call() Helper. Retrieved from https:\/\/lwn.net\/Articles\/645169\/."},{"key":"e_1_2_1_63_1","unstructured":"Alexei Starovoitov. 2018. Lifetime of BPF Objects. Retrieved from https:\/\/facebookmicrosites.github.io\/bpf\/blog\/2018\/08\/31\/object-lifetime.html.  Alexei Starovoitov. 2018. Lifetime of BPF Objects. Retrieved from https:\/\/facebookmicrosites.github.io\/bpf\/blog\/2018\/08\/31\/object-lifetime.html."},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1145\/3139645.3139657"},{"key":"e_1_2_1_65_1","unstructured":"uBPF. 2019. Userspace eBPF VM. Retrieved from https:\/\/github.com\/iovisor\/ubpf.  uBPF. 2019. Userspace eBPF VM. Retrieved from https:\/\/github.com\/iovisor\/ubpf."},{"key":"e_1_2_1_66_1","volume-title":"Vieira","author":"Vieira Marcos A. M.","year":"2019"},{"key":"e_1_2_1_67_1","volume-title":"Vieira","author":"Vieira Marcos A. M.","year":"2019"},{"key":"e_1_2_1_68_1","unstructured":"VMWare. 2018. p4c-xdp. Retrieved from https:\/\/github.com\/vmware\/p4c-xdp.  VMWare. 2018. p4c-xdp. Retrieved from https:\/\/github.com\/vmware\/p4c-xdp."},{"key":"e_1_2_1_69_1","unstructured":"WeaveWorks. 2017. Improving Performance and Reliability in Weave Scope with eBPF. Retrieved from https:\/\/www.weave.works\/blog\/improving-performance-reliability-weave-scope-ebpf\/.  WeaveWorks. 2017. Improving Performance and Reliability in Weave Scope with eBPF. Retrieved from https:\/\/www.weave.works\/blog\/improving-performance-reliability-weave-scope-ebpf\/."},{"key":"e_1_2_1_70_1","volume-title":"Retrieved","year":"2019"}],"container-title":["ACM Computing Surveys"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3371038","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3371038","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:23:36Z","timestamp":1750188216000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3371038"}},"subtitle":["Concepts, Code, Challenges, and Applications"],"short-title":[],"issued":{"date-parts":[[2020,2,6]]},"references-count":70,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2021,1,31]]}},"alternative-id":["10.1145\/3371038"],"URL":"https:\/\/doi.org\/10.1145\/3371038","relation":{},"ISSN":["0360-0300","1557-7341"],"issn-type":[{"value":"0360-0300","type":"print"},{"value":"1557-7341","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,2,6]]},"assertion":[{"value":"2019-06-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2019-10-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2020-02-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}