A Fast Approach for Generating Efficient Parsers on FPGAs
Open Access
Abstract
The development of modern networking requires that high-performance network processors be designed quickly and efficiently to support new protocols. As a very important part of the processor, the parser parses the headers of the packets—this is the precondition for further processing and finally forwarding these packets. This paper presents a framework designed to transform P4 programs to VHDL and to generate parsers on Field Programmable Gate Arrays (FPGAs). The framework includes a pipeline-based hardware architecture and a back-end compiler. The hardware architecture comprises many components with varying functionality, each of which has its own optimized VHDL template. By using the output of a standard frontend P4 compiler, our proposed compiler extracts the parameters and relationships from within the used components, which can then be mapped to corresponding templates by configuring, optimizing, and instantiating them. Finally, these templates are connected to output VHDL code. When a prototype of this framework is implemented and evaluated, the results demonstrate that the throughputs of the generated parsers achieve nearly 320 Gbps at a clock rate of around 300 MHz. Compared with state-of-the-art solutions, our proposed parsers achieve an average of twice the throughput when similar amounts of resources are being used.Keywords
Funding Information
- Ministry of Science and Technology of the People's Republic of China (2016YFB1000400)
This publication has 16 references indexed in Scilit:
- P4-Compatible High-Level Synthesis of Low Latency 100 Gb/s Streaming Packet Parsers in FPGAs2018
- Software‐defined networking (SDN): a surveySecurity and Communication Networks, 2016
- ClickNP2016
- P4-to-VHDL: Automatic Generation of 100 Gbps Packet Parsers2016
- P4ACM SIGCOMM Computer Communication Review, 2014
- Towards secure and dependable software-defined networks2013
- 400 Gb/s Programmable Packet Parsing on a Single FPGA2011
- Kiwi: Synthesis of FPGA Circuits from Parallel Programs2008
- OpenFlowACM SIGCOMM Computer Communication Review, 2008
- The click modular routerACM Transactions on Computer Systems, 2000