arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.07750cs.ARcs.NI
收藏

基于FPGA的分组转发器设计原理

Design Principles for Packet Deparsers on FPGAs

Thomas Luinaud, Jeferson Santiago da Silva, J. M. Pierre Langlois, Yvon Savaria

摘要:

P4语言极大地改变了网络领域,因为它允许快速描述和实现新的网络应用程序。虽然可以用P4语言描述各种各样的应用,但当前的可编程交换机架构对P4程序施加了显著的限制。为了解决这个缺点,FPGA已经被探索作为P4应用的潜在目标。P4应用程序描述使用三个抽象:一个数据包解析器,匹配动作表,和一个数据包解析器,重新组装输出数据包与匹配动作表的结果。虽然在FPGA上实现数据包解析器和匹配动作表已经在文献中被广泛报道,但是没有针对数据包解析器提出一般设计原则。事实上,在FPGA上实现高速高效的逆解析器仍然是一个悬而未决的问题,因为它需要大量的互连,并且架构必须针对P4程序进行定制。因此,在几个P4应用程序在FPGA上实现的作品中,反解析器消耗了很大一部分芯片资源。因此,在本文中,我们解决这个问题,提出了设计原则,高效,高速deparsers的FPGA。作为一个工件,我们介绍了一个工具,生成一个有效的供应商不可知的deparser架构从P4程序。我们的设计已经过验证,并与基于cocotb的框架模拟。由此产生的架构在Xilinx Ultrascale+ FPGA上实现,支持超过200 Gbps的吞吐量,同时与其他解决方案相比,减少了近10个$\times$的资源使用。

英文摘要:

The P4 language has drastically changed the networking field as it allows to quickly describe and implement new networking applications. Although a large variety of applications can be described with the P4 language, current programmable switch architectures impose significant constraints on P4 programs. To address this shortcoming, FPGAs have been explored as potential targets for P4 applications. P4 applications are described using three abstractions: a packet parser, match-action tables, and a packet deparser, which reassembles the output packet with the result of the match-action tables. While implementations of packet parsers and match-action tables on FPGAs have been widely covered in the literature, no general design principles have been presented for the packet deparser. Indeed, implementing a high-speed and efficient deparser on FPGAs remains an open issue because it requires a large amount of interconnections and the architecture must be tailored to a P4 program. As a result, in several works where a P4 application is implemented on FPGAs, the deparser consumes a significant proportion of chip resources. Hence, in this paper, we address this issue by presenting design principles for efficient and high-speed deparsers on FPGAs. As an artifact, we introduce a tool that generates an efficient vendor-agnostic deparser architecture from a P4 program. Our design has been validated and simulated with a cocotb-based framework. The resulting architecture is implemented on Xilinx Ultrascale+ FPGAs and supports a throughput of more than 200 Gbps while reducing resource usage by almost 10$\times$ compared to other solutions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑