You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will double-check and report back here later, but I believe that perhaps p4c-dpdk can compile the DASH P4 program (with appropriate small changes to use the PNA architecture instead of the v1model architecture, which I believe there are #ifdef's for), and has been able to do so for several months now.
Another potential blocking issue: if you try to use open source IPDK with its P4Runtime API server, it does not correctly implement adding table entries with actions where parameters are 128 bits in size (and perhaps the maximum size supported without errors is 64 bits today). sonic-net/DASH#408 (comment)
An alternative would be to try using a "native" control plane API for the DPDK software switch for installing such table entries. I do not know where to find documentation or examples of such things to try them out. If someone can point to a documentation or example for that, it would be helpful.
I will double-check and report back here later, but I believe that perhaps p4c-dpdk can compile the DASH P4 program (with appropriate small changes to use the PNA architecture instead of the v1model architecture, which I believe there are #ifdef's for), and has been able to do so for several months now.
fruffy
changed the title
Make DASH compile for DPDK-PNA
Support bitwidths larger than 64 bit on the DPDK target and p4c-dpdk-pna compiler.
Sep 23, 2024
p4lang/p4c#4174
The text was updated successfully, but these errors were encountered: