PrismParser: A Framework for Implementing Efficient P4-Programmable Packet Parsers on FPGA
Open Access
- 27 August 2024
- journal article
- research article
- Published by MDPI AG in Future Internet
- Vol. 16 (9) , 307
Abstract
The increasing complexity of modern networks and their evolving needs demand flexible, high-performance packet processing solutions. The P4 language excels in specifying packet processing in software-defined networks (SDNs). Field-programmable gate arrays (FPGAs) are ideal for P4-based packet parsers due to their reconfigurability and ability to handle data transmitted at high speed. This paper introduces three FPGA-based P4-programmable packet parsing architectural designs that translate P4 specifications into adaptable hardware implementations called base, overlay, and pipeline, each optimized for different packet parsing performance. As modern network infrastructures evolve, the need for multi-tenant environments becomes increasingly critical. Multi-tenancy allows multiple independent users or organizations to share the same physical network resources while maintaining isolation and customized configurations. The rise of 5G and cloud computing has accelerated the demand for network slicing and virtualization technologies, enabling efficient resource allocation and management for multiple tenants. By leveraging P4-programmable packet parsers on FPGAs, our framework addresses these challenges by providing flexible and scalable solutions for multi-tenant network environments. The base parser offers a simple design for essential packet parsing, using minimal resources for high-speed processing. The overlay parser extends the base design for parallel processing, supporting various bus sizes and throughputs. The pipeline parser boosts throughput by segmenting parsing into multiple stages. The efficiency of the proposed approaches is evaluated through detailed resource consumption metrics measured on an Alveo U280 board, demonstrating throughputs of 15.2 Gb/s for the base design, 15.2 Gb/s to 64.42 Gb/s for the overlay design, and up to 282 Gb/s for the pipelined design. These results demonstrate a range of high performances across varying throughput requirements. The proposed approach utilizes a system that ensures low latency and high throughput that yields streaming packet parsers directly from P4 programs, supporting parsing graphs with up to seven transitioning nodes and four connections between nodes. The functionality of the parsers was tested on enterprise networks, a firewall, and a 5G Access Gateway Function graph.Keywords
Funding Information
- NSERC Kaloom-Intel-Noviflow Industrial Chair (RGPIN-2019-05951)
This publication has 23 references indexed in Scilit:
- The Design of a Dynamic Configurable Packet Parser Based on FPGAMicromachines, 2023
- The Design of a Configurable and Low-Latency Packet Parsing System for Communication NetworksSSRN Electronic Journal, 2022
- An Exhaustive Survey on P4 Programmable Data Plane Switches: Taxonomy, Applications, Challenges, and Future TrendsIEEE Access, 2021
- Flexible Software-Defined Packet Processing Using Low-Area HardwareIEEE Access, 2020
- A custom processor for protocol-independent packet parsingMicroprocessors and Microsystems, 2020
- A Fast Approach for Generating Efficient Parsers on FPGAsSymmetry, 2019
- Software-Defined Networking: A Comprehensive SurveyProceedings of the IEEE, 2014
- P4ACM SIGCOMM Computer Communication Review, 2014
- Forwarding metamorphosisACM SIGCOMM Computer Communication Review, 2013
- 400 Gb/s Programmable Packet Parsing on a Single FPGA2011