p4runtime
p4runtime copied to clipboard
Specification documents for the P4Runtime control-plane API
As discussed in today's WG meeting, the definition of read-write symmetry in the spec is currently fuzzy, and the spec makes no gurantees ("reads and writes [...] **should** be symmetrical...
This proposal arose in a P4.org API work group discussion on 2022-Dec-09 about read-write symmetry. The following types of objects are known to be able to change their state by...
While reading the P4 runtime specification to understand the property of read-write symmetry and the use of canonical encodings, it felt like the specification could be clarified and strengthened around...
This is a follow-up on https://github.com/p4lang/p4c/issues/3760#issuecomment-1340213608 (@jfingerh). I have taken a closer look at the P4Runtime protos, and would like to continue the P4Runtime side of discussion here. I have...
See https://s3-us-west-2.amazonaws.com/p4runtime/docs/master/P4Runtime-Spec.html#sec-known-limitations-of-p4runtime-v100: > FieldMatch, action Param, and controller packet metadata fields only support unsigned bitstrings...
### Problem Some architectures like the Tofino Native Architecture (TNA) for the Barefoot Tofino chip consist of multiple parallel hardware pipelines, instead of the usual one. They are attached to...
In the specification of the Portable NIC Architecture (PNA - https://github.com/p4lang/pna) there is a feature to declare a table as add-on-miss, meaning that if you apply() the table in your...
Currently the P4Runtime API supports reading one, all, or a selected subset of entries of a table, and there are requirements in the spec that when reading multiple or all...
I will answer this question myself soon if someone does not respond within a few days, but wanted to see if someone knew off the top of their head. Suppose...
P4Runtime v1.3 recommends using version v1.2.1 of the P4_16 language. P4_16 v1.2.2 was released in May 2021, with the following changes: https://p4.org/p4-spec/docs/P4-16-v1.2.2.html#sec-summary-of-changes-made-in-version-122. Some of these changes do have an impact...