Closed
Description
p4c-dpdk can compile PNA programs into spec files. When I try to load it into the bf_switchd target, and run bfrt.<program_name>.enable
, I get "Invalid struct field size." error.
I think this is related to some of the PNA metadata fields are 3 bits like bit<3> pna_pre_input_metadata_pass
However, when I hack the .spec file to make them bit<8>
, I got "Pipeline build error."
Could you supply some sample programs that can load and run on this DPDK target? Maybe the l3_simple_demo example that is mentioned in the tools
folder.
Metadata
Metadata
Assignees
Labels
No labels