p4lang / p4c-bm

Generates the JSON configuration for the behavioral-model (bmv2), as well as the C/C++ PD code
Apache License 2.0
24 stars 29 forks source link

p4c-bmv2 assumes older behavioral-model behavior for push operations #106

Open jafingerhut opened 4 years ago

jafingerhut commented 4 years ago

Before this commit to the behavioral-model repository in March 2018, p4c-bmv2 and behavioral-model had the same assumptions about how push operations in the JSON file worked: https://github.com/p4lang/behavioral-model/commit/9131ed9bc4f634e415d459e7d26e154396be1042

After that commit, the default builds of behavioral-model changed, but p4c-bmv2 did not change to update with it.

If you encounter this, options you have:

jafingerhut commented 4 years ago

Another alternative: