-
I want to write a P4 program to set the idle_timeout for a table entry (e.g. 10 seconds).
The BMv2 v1model implementation supports the table property `support_timeout`. How to set a specific idle_t…
-
Currently, bng.p4 is based on v1model, a P4_16 architecture originally introduced to model the capabilities of the older version of the P4 language (P4_14). While v1model is widely adopted by differen…
-
There are a few externs and extern functions with constraints on arguments beyond what is encoded in the type system, and some negative tests are failing because we don't enforce these constraints.
…
-
This exists in the v1model.p4 include file, here: https://github.com/p4lang/p4c/blob/main/p4include/v1model.p4#L705-L711
You can find a few examples of its use in this v1model architecture program …
-
I see one exit statement below:
https://github.com/P4ELTE/use_cases/blob/master/p4-16/bst/cpf_ran.p4#L170
The exit statement causes exit out of RANIngress control. But the RANIngressDeparser st…
-
Hi, in the v1model.p4 https://github.com/p4lang/p4c/blob/master/p4include/v1model.p4, I found that there are just some extern declarations.
1) I want to know where their implementations are if I use…
-
Hi All, we are trying to port v1model testcases for dpdk(PSA) essentially for more coverage and make it part of p4c repo.
I see there are two way to achieve it
1) Copy the v1model testcases in new …
-
testdata/p4_16_samples/v1model-newtype.pp has no expected output files, and since it has a `.pp` suffix I believe that the auto-run tests never do anything with it. Keep it? If so, seems best to ren…
-
The following program, `bug-generic.p4` fails to typecheck when given a command `$ p4c --target bmv2 --arch v1model bug-generic.p4`.
```p4
#include
#include
typedef standard_metadata_t std_m…
-
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…