Leveraging eBPF for programmable network functions with IPv6 Segment Routing

Mathieu Xhonneux, Fabien Duchene, Olivier Bonaventure
10/24/2018
cs.NI

Official code: Zashas/Thesis-SRv6-BPF (44 stars, C, GPL-3.0, last commit 2018-10-08).

Abstract

With the advent of Software Defined Networks (SDN), Network Function Virtualisation (NFV) or Service Function Chaining (SFC), operators expect networks to support flexible services beyond the mere forwarding of packets. The network programmability framework which is being developed within the IETF by leveraging IPv6 Segment Routing enables the realisation of in-network functions.

Show full abstract

In this paper, we demonstrate that this vision of in-network programmability can be realised. By leveraging the eBPF support in the Linux kernel, we implement a flexible framework that allows network operators to encode their own network functions as eBPF code that is automatically executed while processing specific packets. Our lab measurements indicate that the overhead of calling such eBPF functions remains acceptable. Thanks to eBPF, operators can implement a variety of network functions. We describe the architecture of our implementation in the Linux kernel. This extension has been released with Linux 4.18. We illustrate the flexibility of our approach with three different use cases: delay measurements, hybrid networks and network discovery. Our lab measurements also indicate that the performance penalty of running eBPF network functions on Linux routers does not incur a significant overhead.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Code written for my master's thesis on End.BPF, an interface for programmable IPv6 Segment Routing network functions.

4410C, PythonJun 10, 20188 years agoGPL-3.0

Similar Papers

Cite this paper

@article{xhonneux2018leveraging,
  title  = {Leveraging eBPF for programmable network functions with IPv6 Segment Routing},
  author = {Mathieu Xhonneux and Fabien Duchene and Olivier Bonaventure},
  year   = {2018},
  eprint = {1810.10247},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.10247}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1810.10247.svg)](https://codeofpaper.com/paper/1810.10247)

Discussion