-
Notifications
You must be signed in to change notification settings - Fork 80
LDWG meeting minutes, August 4, 2019
Mihai Budiu (VMware) Calin Cascaval (Barefoot) Chris Dodd (Barefoot) Andy Fingerhut (Cisco) Nate Foster (Cornell) Vladimir Gurevich (Barefoot) Chris Sommers (Keysight) Han Wang (Barefoot)
-
We would like to move the meeting time forward to accommodate participants (e.g., in Europe and Africa).
-
We ran a scheduling poll and it seems 11am-12:30 PT will work for most people. We agreed to shift to that meeting time in the future.
-
The first Monday in September is a holiday in the United States. We'll move our meeting from September 2nd to September 9th.
-
We would like to release v1.2.0 of the language specification soon. We will allow design discussions to continue through September's meeting, then we will freeze features and consolidate the release shortly thereafter.
-
Pull Request: https://github.com/p4-spec/pull/
-
The proposal seeks to eliminate casts between serializable enums and their underlying bit type.
-
As written, the current proposal does not seek to make the types equivalent. The automatic coversion would only be applied in a certain direction, or possibly in certain kinds of expressions. (But perhaps for the sake of keeping the design simple, the types should be equivalent.)
-
Action Item:
- @vgurevich to write up a pull request on the language specification
- @jnfoster to discuss with P4 API WG about control-plane rammifications
-
The proposal seeks to add a string type to the P4 language.
-
Values of type string have no operations on them in the language itself, so this is mostly useful for things like logging (as shown in the pull request).
-
Note that no operations means assignment, equality, disequality, etc.
-
There was some discussion of whether this is useful -- many models already provide logging.
-
Could we prove an erasure theorem showing that the strings are not needed in the data plane? For a sufficiently-specified architecture, perhaps.
-
A potential use-case is to pass strings through to the control plane (though, if the strings only come from annotations, this proposal may be overkill.)
-
Some other packet-processing languages have a string type and allow logging.
-
Action Item: @mbudiu-vmw will write up a pull request the spec for the
string
type. Folks should think about this, comment on that pull request, and we will return to this in the future.
-
Pull Request #1: https://github.com/p4lang/p4-spec/pull/717
-
Pull Request #2: https://github.com/p4lang/p4-spec/pull/773
-
The first proposal allows initializing using struct literals.
-
The second proposal also support default values (i.e., 0s).
-
Action Item: @vurevich to develop a pull request for default initializers. Folks should re-review #717. Then we will proceed to #773.
- Abstract Methods (https://github.com/p4lang/p4-spec/pull/771)
- Structure Overlays (https://github.com/p4lang/p4-spec/pull/656)
- Module System (https://github.com/p4lang/p4-spec/issues/718)