The contents of this repository are a work in progress, intended to lead towards a published Portable NIC Architecture specification published by P4.org.
If you are new to the Portable NIC Architecture, we recommend starting with the 18-minute video Portable NIC Architecture Update to get a quick introduction to the basic ideas.
The latest version of the specification is given by its Madoko source file in PNA.mdk, and the latest generated PDF version is here. The PDF version is not generated for every change to the Madoko source file.
See the README for the P4_16 language specification for instructions on installing software that enables you to produce HTML and PDF versions of the PNA specification from its Madoko source file.
Note: The following instructions were copied from the corresponding README of the Portable Switch Architecture specification, and may need some modifications when we reach the point of releasing a PNA specification.
- increment version number in the document and commit
- merge to master and tag the commit with pna-version (e.g. pna-v0.9)
- generate the PDF and HTML
- checkout the gh-pages branch and copy to /docs as PNA-.[html,pdf]
- update links in /index.html
- add files, commit and push the gh-pages branch
- checkout master, change the Title note to (working draft), commit and push
Someday we may write a script to do this.