Running P4 examples on P4Pi - p4lang/p4pi GitHub Wiki
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