Asynchronous Extern Functions in Programmable Software Data Planes

被引:0
作者
Horpacsi, Daniel [1 ]
Laki, Sandor [1 ]
Voros, Peter [1 ]
Tejfel, Mate [1 ]
Pongracz, Gergely [2 ]
Molnar, Laszlo [2 ]
机构
[1] Eotvos Lorand Univ, Budapest, Hungary
[2] Ericsson Res, Budapest, Hungary
来源
2019 ACM/IEEE SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS) | 2019年
关键词
P4; Asynchronous packet processing; Software data plane;
D O I
10.1109/ancs.2019.8901875
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Target-independent packet processing languages support diverse hardware and software targets by generalizing over the set of primitive operations (extern-functions) available on the target. In P4, the language specification does not specify whether the invocation of an extern function is synchronous or asynchronous - supposedly synchronous by default. However, in some use cases, it makes more sense to invoke such functions in an asynchronous way and let the thread keep processing packets while the extern operation is being performed by a dedicated resource or accelerator device. In this paper, we propose a method for transparent description and efficient implementation of asynchronous extern function calls in P4-programmable software data planes. Our DPDK-based early prototype relies on the concept of coroutines used for saving packet contexts and manual switching between them. The overhead of the proposed solution is analyzed with a packet encryption case study.
引用
收藏
页数:2
相关论文
共 2 条
[1]   Programming Protocol-Independent Packet Processors [J].
Bosshart, Pat ;
Daly, Dan ;
Gibb, Glen ;
Izzard, Martin ;
McKeown, Nick ;
Rexford, Jennifer ;
Schlesinger, Cole ;
Talayco, Dan ;
Vahdat, Amin ;
Varghese, George ;
Walker, David .
ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2014, 44 (03) :87-95
[2]  
Vörös P, 2018, IEEE INT CONF HIGH