-
P4Runtime recently added support for preserving the source location of annotations in p4info.proto (https://github.com/p4lang/p4runtime/pull/286). The rationale for this is explained in https://github…
-
Consider the following example for a key on a table,
```
key = {
fieldA & 0x123 : exact @name("blah");
}
```
`P4RuntimeSerializer` currently will set the name annotatio…
-
### Description of problem
We've seen cases where folks need to have a couple properties
- CipherSuites
- TLSMinVersion
- others? (cc @xyloman)
### Proposed solution
have a set of flags…
-
Should match kinds be importable and treated as separate top level names?
For example, if one imported match_kind `range` from a namespace for the `v1model` architecture via `import v1model as v1`,…
-
I was inspired by a recent issue asking about compiler internal passes renaming action parameters (or not) to find out what the P4Info file generated contains when `@name` annotations are used on (dir…
-
Hi,
I can find a recirc. json file in the folder of targets/simple.switch/tests/testdata/. I guess the corresponding p4 source code file should be recirc.p4 which is located in the same folder, b…
-
In compiling burstradar I am getting the following warning:
`burstradar.p4(192): [--Wwarn=unsupported] warning: clone3: clone with non-empty argument not supported`
A Google search pointed me to…
-
Trying to set 48 bit fields fields causes an error as shown below. Setting 32 bit fields does work.
It seems like the function `memcpy` tries to use the value to which the field must be set as an a…
-
I approved of PR https://github.com/p4lang/p4c/pull/3748 because I think it is a good significant start at a full implementation of tables with `entries` without `const` before `entries`, and I prefer…
-
These functions(htons,htonl,htonll) are defined in "ebf_common.h".
Can we include compiler support for them, so that we can use this functionality from p4 program?