-
Also check whether 'return' is allowed by compiler inside of an action, and consider what the semantics of that should be.
Possibly correct implementation in p4pktgen for exit inside an action: do …
-
[Scala](https://www.scala-lang.org/) and the [Rust Foundation](https://www.rust-lang.org/) have a Playground where you can try out the language using an interpreter. It would be nice if we had somethi…
-
From these lines of BMv2 code, it appears that at least when the code was written, it was expected that a checksum verification and/or update calculation could include not only constants and fields, b…
-
See here for some logs: https://github.com/p4lang/p4-spec/actions/runs/11830509745
-
The latest open source `p4test` as of 2023-Jul-21 source p4lang/p4c source code allows this definition of an extern without any errors or warnings, as I would expect:
```
extern Foo {
Foo();
}…
-
While trying to generate api for a meter test, i see the following error,
```
./p4test ../testdata/p4_16_samples/psa-meter1.p4 --p4runtime-files psa-meter1.proto
../testdata/p4_16_samples/psa-met…
-
Hello,As a newcomer to the P4 language,I have some question...
I found that ebpf backends does not have tc's ingress and egress framework model to offer,only xdp_model.
I try to use the PSA framewo…
-
Updated status as of 2024-Nov-20:
So far no one has volunteered (nor been paid) to implement this feature. If you are interested in implementing it, please let us know by replying in a comment on …
-
cstrings are commonly used as "the string type" in p4c. However, they should be used with more care. The reason is that they are internalized, so each new string is stored forever in some global map.
…
-
Hello, I was curious. Are there still any plans to continue development on this project? P4 does need a language server so this could have high impact if successful.