/p4labs

P4 example code fragments

Primary LanguageGoApache License 2.0Apache-2.0

p4labs

This is yet another public repository to share P4 example code fragments.

Current plan is to add examples using BMv2 and Golang P4Runtime Client, but could add more targets in future. (e.g. Tofino)

For instructions how to setup P4 environment, check below page by Andy Fingerhut. (Thank you as always!!)

P4 Community

There are P4 related Slack Workspace available to public.

  • English: p4-lang.slack.com
  • Japanese: p4users-jp.slack.com

Links

  • p4srv6 ... proto-typing SRv6 functions with P4 lang