[P4-dev] Finding documentation sometimes is hard.

ec richard.mayers92 at gmail.com
Tue Oct 17 10:17:19 EDT 2017

Hi all,

Since p4-16 part of the specification has been moved into libraries and some of them are architecture-specific, for example v1model.p4 would be one of them.

Is there a way to find documentation for those specific libraries ? Sometimes just looking into the file is not enough (since things are not well commented). For example how do you know what is modified at ingress or egress? What does it make sense to access them ? (for example standard_metadata.egress_spec can only be written at ingess and then its value is reset at egress).

So far the only why i found to answer this is:

1) Learning from examples and try to deduce how to use them.
2) Trial and error
3) Hoping that someone asked what you want in the mailing list.

is there a way were we can find this detailed information ? 


More information about the P4-dev mailing list