We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There seems to be a bug related to inlining control blocks. I get the error
$ p4test --p4-16 action-inlining.p4 -o who-cares.json error: Could not find declaration for aux_a_0
when trying to compile the program
#include <core.p4> #include <v1model.p4> struct H { }; struct M { }; parser ParserI(packet_in pk, out H hdr, inout M meta, inout standard_metadata_t smeta) { state start { transition accept; } } control Aux(inout M meta) { action a() {} apply { a(); } } control IngressI(inout H hdr, inout M meta, inout standard_metadata_t smeta) { Aux() aux; apply { aux.apply(meta); } } control EgressI(inout H hdr, inout M meta, inout standard_metadata_t smeta) { apply { } } control DeparserI(packet_out pk, in H hdr) { apply { } } control VerifyChecksumI(in H hdr, inout M meta) { apply { } } control ComputeChecksumI(inout H hdr, inout M meta) { apply { } } V1Switch(ParserI(), VerifyChecksumI(), IngressI(), EgressI(), ComputeChecksumI(), DeparserI()) main;
The text was updated successfully, but these errors were encountered:
Fix for issue ##136
515c2f3
fixed
Sorry, something went wrong.
No branches or pull requests
There seems to be a bug related to inlining control blocks. I get the error
when trying to compile the program
The text was updated successfully, but these errors were encountered: