Skip to content

Running P4 examples on P4Pi

signorello edited this page Aug 25, 2022 · 8 revisions

Introduction

In this section of the Wiki, we illustrate several P4 program examples, showing how to execute and test them on the different P4 targets available on your P4Pi node.

The related P4 code and auxiliary software are available in the examples folder of P4Pi's GitHub repository.

Program examples:

  • Simple L2 Switch
  • ARP and ICMP responder
  • Calculator
  • Traffic filter
  • Simple stateful firewall

Supported Compilers and Targets:

  • T4P4S with DPDK
  • p4c with BMv2
Clone this wiki locally