-
In order to support PSA externs, we are going to introduce the notion of notification in the `StreamChannel` bi-directional stream. These notifications will be used for idle timeout, digests, etc...
…
-
Looking at the PSA Extern InternetChecksum, object:
(https://github.com/p4lang/p4c/blob/main/backends/bmv2/psa_switch/psaSwitch.cpp)
How would one get the paramter fieldlist size?
Want to add lim…
-
See this PR: https://github.com/p4lang/p4c/pull/1736
This issue is filed to complete the work so that p4c generates type_info for table MatchField and Action param in p4info. This work needs more …
-
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…
-
I believe that right now, the BMv2 JSON file has no representation of the defaultonly and tableonly attributes in P4 source code. These can be used to annotate the list of actions for a table. See t…
-
But I feel like we have opened a can of worms: we also need to address the case of counters / meters, for which the `index` field should probably be changed to `bytes` as well. It makes the API less c…
-
Before now, P4_16 only allowed serializable enums to have an underlying type of `bit` for some constant width W.
With the change to the spec linked below, type `int` or some `typedef` name whose un…
-
The p4c-ebpf backend generates C code that assumes that the `user_meta` parameters in the ingress and the egress pipelines have the same type. Below is a small example P4 code containing a non-empty e…
-
hi,
i'm maintaining a p4 router that fails to compile with p4elte but compiles with p4lang/p4c
and with some platform specific modifications with barefoot/tofino.
can you give me some advise on h…
-
Hi, I ran the first demo as https://github.com/p4pktgen/p4pktgen/blob/master/docs/p4pktgen-intro-by-example.md#first-run-wth-program-demo1p4_16p4, but the `log1.txt` shows an error. What should I do?
…