-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add assert and assume extern functions to PNA include file? #65
Comments
TODO Andy: Discussing this with Cristian Dumitrescu on precisely how these would be implemented on DPDK. Note that they are already implemented on BMv2 for the v1model architecture. The PSA implementation for BMv2 is only partial as of 2022-Oct, with no one that I know of currently actively working to finish it. Similarly, I do not know of anyone working on BMv2 implementation of PNA architecture at this time. |
+1 from me. |
Is the architecture include file the right place for defining these methods? It seems to me like they would be better placed in an orthogonal header (e.g. |
@thomascalvert-xlnx in general, we are conservative about adding types and primitives to |
They have recently been added to the PSA include file with this commit: https://github.com/p4lang/p4-spec/blob/main/p4-16/psa/psa.p4#L340-L403
Do we want these added to pna.p4 include file as well? They can be very useful in testing of P4 code on software-based devices, e.g. BMv2 and DPDK. Typically they would be compiled as no-ops on hardware targets.
The text was updated successfully, but these errors were encountered: