
Advanced Topics on P4 Programmable Data Plane Switches Lab Activities
Explore introductory and advanced topics on P4 programmable data plane switches presented by Elie Kfoury and Jose Gomez from the University of South Carolina. Dive into match-action tables, pipelines, and lab activities focused on implementing tables for IP address matching, updating header information, and more.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Introductory and Advanced Topics on P4 Programmable Data Plane Switches Elie Kfoury, Jose Gomez University of South Carolina http://ce.sc.edu/cyberinfra ekfoury@email.sc.edu, gomezgaj@email.sc.edu WASTC 2022 virtual Faculty Development Weeks (vFDW) June 13, 2022 1
Match-action Tables (Part 2) Lab activities are described in Lab 6, P4 Programmable Data Plane Switches (BMv2) lab series 2
Match-action Pipeline Tables define the processing logic inside the match-action pipeline They can be used to implement traditional switch tables (e.g., routing, flow lookup, access-control lists) They can implement custom user-defined complex logic Stage 1 Stage N Stage 1 Stage N Traffic Manger ... ... Packets Programmable parser Programmable match- action pipeline Configurable component Programmable match- action pipeline Programmable deparser Tables are implemented here Tables are implemented here 3
Lab Topology and Objectives The topology consists of three hosts: h1, h2, and h3; one P4 switch: s1 Implement a table that matches on the destination IP address in the packet headers using the Longest Prefix Match (LPM) Implement another table that matches on the destination IP address in the packet headers using the exact match Assign the output port based on the matched IP address Update the MAC addresses in the headers Decrement the Time-to-Live (TTL) 4