-
Hi,
is it possible to add externs to the BMV2 switch used in the tutorial simulations ?
if yes, could you provide clear steps on how to change the switch source code and rebuild it.
Thank you so mu…
-
Does it make sense in P4_16 to have actions invoked by a table with direction `out` or `inout` parameters?
Does it even make sense to have `in` direction parameters to an action invoked by a table?…
-
When I declare neighber as a Struct or a header, it will fail while running simple_switch, as follow:
```
mao@mao-vm:~/maoP4/testbmv2/techTest$ sudo simple_switch -L 'trace' --log-file ~/maoP4/mao…
-
It would be fantastic if bmv2 would export some statistics around the packets it forwarded, such as what tables and entries have been hit and how often. This could for instance be used to get some co…
-
Compiling the attached P4_16+PSA architecture program using the latest version of p4c as of 2019-May-03:
```
$ p4c-bm2-psa psa-issue1919-bmv2.p4 -o psa-issue1919-bmv2.json
```
yields an incorrect …
-
The following slight modification of `table2.p4` from the custom-stf-tests suite gets past the typechecker but causes a failure in the interpreter ~both on `main` and~ on `poulet4`.
```
#include
…
-
Hashing algorithms currently implemented:
- identity
- random
- crc16
Hashing algorithms currently unimplemented:
- crc16_custom
- crc32
- crc32_custom
- xor16
- csum16
stp59 updated
4 years ago
-
Andy's current opinion: There will be so few namespace names that letting there be a kind of self-organizing governance of them seems fine.
For example, Python module names have a HUGE number of de…
-
These lines of code: https://github.com/p4lang/behavioral-model/blob/master/targets/simple_switch/simple_switch.cpp#L551-L554
copied below for convenience:
```
// we need to parse again
…
-
This is a follow-up question on the LDWG discussion we had on April 1st.
I have the following program:
```
#include
header Hdr {
bit fA;
bit fB;
bit fC;
bit fD;
bit f…