基于P4交换机的MAP卸载技术设计与实现

1)深圳大学信息中心,广东深圳 518060; 2)清华大学交叉信息研究院,北京 100084

P4; MAP-E; IPv4/IPv6; 可编程网络

Design and implementation of MAP offloading technology based on P4 switch
YI Xiaoyu1, QIN Bin1, WU Wenfei2, and NIE Wei1

1)Information Center, Shenzhen University, Shenzhen 518060, Guangdong Province, P.R.China2)Institute for Interdisciplinary Information Sciences, Tsinghua University, Beijing 100084, P.R.China

P4; mapping of address and port with encapsulation(MAP-E); IPv4/IPv6; programmable network

DOI: 10.3724/SP.J.1249.2020.99112

备注

据《中国IPv6发展报告》报道,除部分大型互联网公司外,中国的民营中小企业对IPv6的改造进程非常缓慢,而越来越多的中小企业将业务迁移至了云端,对云服务提供商来说,需要完成高吞吐量的IPv4/IPv6转换.2014年,Nick MCKEOWN提出可编程协议无关的数据包处理器(programming protocol-independent packet processors, P4).本研究在P4交换机上实现MAP-E(mapping of address and port with encapsulation)卸载技术,将IPv4/IPv6的转换任务卸载到P4交换机上,提升了流转发速率,减轻了核心服务器的压力.同时,P4语言支持自定义交换机处理逻辑,从而使协议版本在更新迭代时无需购买新设备,降低了以后IPv4/IPv6的升级和运营成本.

According to the China IPv6 Development Report, with the exception of some large internet companies, private small and medium enterprises(SMEs)are very slow to transform into IPv6, and more and more SMEs are migrating their business to the cloud. For cloud service providers, high-throughput IPv4/IPv6 conversion should be completed. In 2014, Nick MCKEOWN proposed programmable protocol-independent packet processors(P4). Implementation of mapping of address and port with encapsulation(MAP-E)offloading technology on P4 switches, that is, offloading the IPv4/IPv6 conversion task to P4 switches, improves the flow forwarding rate and reduces the pressure on the core server. At the same time, the P4 language supports custom switch processing logic, so that there is no need to purchase new equipment when the protocol version is updated and iterated, which reduces future IPv4/IPv6 upgrade and operating costs.

·