Composing Dataplane Programs with μP4

被引:42
|
作者
Soni, Hardik [1 ]
Rifai, Myriana [2 ]
Kumar, Praveen [1 ]
Doenges, Ryan [1 ]
Foster, Nate [1 ]
机构
[1] Cornell Univ, Ithaca, NY 14853 USA
[2] Nokia Bell Labs, Holmdel, NJ USA
关键词
Programmable dataplanes; P4; Modularity; Composition;
D O I
10.1145/3387514.3405872
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Dataplane languages like P4 enable flexible and efficient packet-processing using domain-specific primitives such as programmable parsers and match-action tables. Unfortunately, P4 programs tend to be monolithic and tightly coupled to the hardware architecture, which makes it hard to write programs in a portable and modular way-e.g., by composing reusable libraries of standard protocols. To address this challenge, we present the design and implementation of a novel framework (mu P4) comprising a lightweight logical architecture that abstracts away from the structure of the underlying hardware pipelines and naturally supports powerful forms of program composition. Using examples, we show how mu P4 enables modular programming. We present a prototype of the mu P4 compiler that generates code for multiple lower-level architectures, including Barefoot's Tofino Native Architecture. We evaluate the overheads induced by our compiler on realistic examples.
引用
收藏
页码:329 / 343
页数:15
相关论文
共 50 条
  • [1] Flightplan: Dataplane Disaggregation and Placement for P4 Programs
    Sultana, Nik
    Sonchack, John
    Giesen, Hans
    Pedisich, Isaac
    Han, Zhaoyang
    Shyamkumar, Nishanth
    Burad, Shivani
    DeHon, Andre
    Loo, Boon Thau
    [J]. PROCEEDINGS OF THE 18TH USENIX SYMPOSIUM ON NETWORKED SYSTEM DESIGN AND IMPLEMENTATION, 2021, : 571 - 592
  • [2] LSTM-NB: DoS Attack Detection On SDN With P4 Programmable Dataplane
    Heggi, Sya Raihan
    Sukarno, Parman
    Mugitama, Satria Akbar
    [J]. 2022 INTERNATIONAL CONFERENCE ON ADVANCED CREATIVE NETWORKS AND INTELLIGENT SYSTEMS, ICACNIS, 2022, : 37 - 42
  • [3] Debugging P4 programs with Vera
    Stoenescu, Radu
    Dumitrescu, Dragos
    Popovici, Matei
    Negreanu, Lorina
    Raiciu, Costin
    [J]. PROCEEDINGS OF THE 2018 CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION (SIGCOMM '18), 2018, : 518 - 532
  • [4] P4B: A Translator from P4 Programs to Boogie
    Ye, Chong
    He, Fei
    [J]. PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 2172 - 2176
  • [5] p4pktgen: Automated Test Case Generation for P4 Programs
    Notzli, Andres
    Khan, Jehandad
    Fingerhut, Andy
    Barrett, Clark
    Athanas, Peter
    [J]. PROCEEDINGS OF THE SYMPOSIUM ON SDN RESEARCH (SOSR'18), 2018,
  • [6] P4AIG: Circuit-Level Verification of P4 programs
    Noureddine, Mohammad A.
    Hsu, Amanda
    Caesar, Matthew
    Zaraket, Fadi A.
    Sanders, William H.
    [J]. 2019 49TH ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS - SUPPLEMENTAL VOL (DSN-S), 2019, : 21 - 22
  • [7] Component-Based Error Detection of P4 Programs
    Toth, Gabriella
    Tejfel, Mate
    [J]. ACTA CYBERNETICA, 2021, 25 (02): : 537 - 554
  • [8] Verification of P4 Programs in Feasible Time using Assertions
    Neves, Miguel
    Freire, Lucas
    Schaeffer-Filho, Alberto
    Barcellos, Marinho
    [J]. CONEXT'18: PROCEEDINGS OF THE 14TH INTERNATIONAL CONFERENCE ON EMERGING NETWORKING EXPERIMENTS AND TECHNOLOGIES, 2018, : 73 - 85
  • [9] P4 Medicine Needs P4 Education
    Cesario, Alfredo
    Auffray, Charles
    Russo, Patrizia
    Hood, Leroy
    [J]. CURRENT PHARMACEUTICAL DESIGN, 2014, 20 (38) : 6071 - 6072
  • [10] bf4: towards bug-free P4 programs
    Dumitrescu, Dragos
    Stoenescu, Radu
    Negreanu, Lorina
    Raiciu, Costin
    [J]. SIGCOMM '20: PROCEEDINGS OF THE 2020 ANNUAL CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION ON THE APPLICATIONS, TECHNOLOGIES, ARCHITECTURES, AND PROTOCOLS FOR COMPUTER COMMUNICATION, 2020, : 571 - 585