Fabian Ruffy
Fabian Ruffy
Sourced from https://github.com/p4lang/p4c/pull/2661. I have several test programs, which use runtime indices and header stacks. Unfortunately, they do not seem to work on simple switch. The received packets are not...
Checking whether it is possible to drop boost gmp and just use plain boost cpp_int.
We are trying to get IPDK and the P4 target to work for [github.com/p4lang/p4c](https://github.com/p4lang/p4c/). By and large we use Ubuntu 22.04 and it appears the p4-dpdk-target does, too. To reduce...
I am working on a project which consumes a P4Info message but ran into a problem with tables. For a table like this ```P4 table toggle_check { key = {...
Currently, `--use-files` seems to generate a `.pcap` file per interface provided via `-i`. The problem with this approach is that packets that are emitted on ports which are not provided...
A little change to make sure clean up is somewhat non-blocking. There are some cases where cleanup can take a really long time. This is because `__del__` tries to remove...
The P4 DPDK target tries to get the SDE install environment via an environment variable: https://github.com/p4lang/p4-dpdk-target/blob/ea8ed80ba2f62e82795e992ea1969923e991e327/src/pipe_mgr/shared/dal/dpdk/dal_init.c#L107 This seems like it might easily lead to user errors or bugs. Is it...
I have been doing this a lot lately, so might as well contribute a utility function. Maybe all of these "get" functions should be static class members?
I ran into issues where I created a `IR::Land(new IR::BoolLiteral(new IR::Type_Boolean(), false), new IR::BoolLiteral(new IR::Type_Boolean(), false))` and the resulting type of the `IR::LAnd` was `IR::Type_Unknown`. This happens because https://github.com/p4lang/p4c/blob/main/ir/expression.def#L39 is...
Now that we are mandating Protobuf 3.25 try to simplify the use of extra variables and workarounds for our Protobuf dependency. - Use `protobuf_generate` instead our own custom command. This...