-
Program:
```
#include
#include
typedef bit EthernetAddress;
// const PortId_t dest_port = (PortId_t) 1;
header ethernet_t {
EthernetAddress dstAddr;
EthernetAddress srcAddr;
…
-
After running the ASAN (Address Sanitizer) tool on our tests with a simple grpc service that installs many table entries, I noticed that it resulted in a heap_buffer_overflow error.
The ASAN tool d…
-
This project idea is created to invite further discussion of my 2024 P4 Workshop talk:
- P4HIR: Towards Bridging P4C with MLIR ([slides](https://p4.org/wp-content/uploads/2024/11/204-P4-Workshop-P4…
-
#### Description
When building the recent sonic-buildimage master, it failed on p4lang. Followings are errors from build output. It is introduced by this commit:
https://github.com/sonic-net/sonic…
-
This came up in https://github.com/p4lang/p4c/pull/5006#discussion_r1835157278_
If we have the following two files:
```
dir
|- file.cpp
|- file.h
```
How should `file.cpp` include `file.h`…
-
> There should never be unparsed annotations actually used in the compiler -- it is just a matter of adding one `PARSE_`_type_ line to parseAnnotations.cpp (or in a backend file). This is related to …
-
Building P4 DPDK, compiling a program for it using p4c-dpdk, and loading it into the P4 DPDK data plane has a repo documenting the steps here: https://github.com/Yi-Tseng/p4-dpdk-target-notes
Perha…
-
In method ingress_thread, after invoking the ingress pipeline, the method `reset_exit()` is called:
+ https://github.com/p4lang/behavioral-model/blob/main/targets/simple_switch/simple_switch.cpp#L5…
-
We discussed in the P4 API WG meeting that it would be a good time to cut a new release. Opening this as an umbrella bug to track that.
- [x] label open PRs and issues with https://github.com/p4lan…
-
This feature has been implemented by the DPDK PNA target, but as of 2024-Nov-04 the implementation of PNA for BMv2 is still quite new.
See the PNA specification for a description of the feature, an…