Lune

SIGCOMM2020Top-tier venue

Composing Dataplane Programs with μP4

Hardik Soni, Myriana Rifai, Praveen Kumar, Ryan Doenges, Nate Foster

2020Year
54Citations
14Top-tier citations

Abstract

Dataplane languages like P4 enable flexible and efficient packetprocessing using domain-specific primitives such as programmable parsers and match-action tables. Unfortunately, P4 programs tend to be monolithic and tightly coupled to the hardware architecture, which makes it hard to write programs in a portable and modular way-e.g., by composing reusable libraries of standard protocols.

To address this challenge, we present the design and implementation of a novel framework (µP4) comprising a lightweight logical architecture that abstracts away from the structure of the underlying hardware pipelines and naturally supports powerful forms of program composition. Using examples, we show how µP4 enables modular programming. We present a prototype of the µP4 compiler that generates code for multiple lower-level architectures, including Barefoot's Tofino Native Architecture. We evaluate the overheads induced by our compiler on realistic examples.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers14

Ask how each one uses it

Builds on1

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines