-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
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
Emit bitwidths of P4 fields #46
Comments
ccascone
added a commit
that referenced
this issue
Sep 22, 2020
By using auto-generate bitwidth constants Closes #46
Bitwidth for header fields are not needed since the onos core takes care of reading them from the p4info when translating/building table entries. I added support for emitting bitwidth constants for controller packet metadata, since the onos core doesn't do any translation for packet in/out operations. |
ccascone
added a commit
that referenced
this issue
Sep 22, 2020
By using auto-generate bitwidth constants Closes #46
bocon13
pushed a commit
that referenced
this issue
Dec 7, 2020
By using auto-generate bitwidth constants Closes #46
bocon13
pushed a commit
that referenced
this issue
Dec 7, 2020
By using auto-generate bitwidth constants Closes #46
bocon13
pushed a commit
that referenced
this issue
Dec 8, 2020
By using auto-generate bitwidth constants Closes #46
bocon13
pushed a commit
that referenced
this issue
Dec 8, 2020
By using auto-generate bitwidth constants Closes #46
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gen-p4-constants.py
should emit constants for the bitwidths of P4 fields and headers, so we can remove stuff like this:fabric-tna/src/main/java/org/stratumproject/fabric/tna/behaviour/FabricInterpreter.java
Line 52 in e87824a
The text was updated successfully, but these errors were encountered: