[P4-dev] Error on building soft switch with openflow agent

Tanja Ulmen tanja.ulmen at rwth-aachen.de
Tue Nov 8 07:57:22 EST 2016


Hello everyone,

I get an error on building the Soft Switch from the p4factory with an 
Openflow agent. When I run "make bm-p4ofagent PLUGIN_OPENFLOW=1" I get 
the following error:

...
Header type security_metadata_t not byte-aligned, adding padding
Header type fabric_metadata_t not byte-aligned, adding padding
Header type int_metadata_i2e_t not byte-aligned, adding padding
Header type meter_metadata_t not byte-aligned, adding padding
Header type qos_metadata_t not byte-aligned, adding padding
Generating files in directory 
/home/tanja/Desktop/test/p4factory/targets/switch/build/bm
total phv length (in bytes): 2020
P4_MATCH_RANGE match not yet supported
Traceback (most recent call last):
   File 
"/home/tanja/Desktop/test/p4factory/submodules/p4c-behavioral/p4c_bm/shell.py", 
line 150, in <module>
     main()
   File 
"/home/tanja/Desktop/test/p4factory/submodules/p4c-behavioral/p4c_bm/shell.py", 
line 138, in main
     dump_yaml = args.dump_yaml)
   File 
"/home/tanja/Desktop/test/p4factory/submodules/p4c-behavioral/p4c_bm/smart.py", 
line 1164, in render_dict_create
     render_dict_populate_tables(render_dict, hlir)
   File 
"/home/tanja/Desktop/test/p4factory/submodules/p4c-behavioral/p4c_bm/smart.py", 
line 661, in render_dict_populate_tables
     assert(False)
AssertionError
/home/tanja/Desktop/test/p4factory/submodules/p4c-behavioral/p4c-bm.mk:96: 
recipe for target 'bm_tenjin_output_oldest' failed
make: *** [bm_tenjin_output_oldest] Error 1

Does anyone know, how to solve it? I use the p4factory repository as it 
is, without any changes.

Regards,
Tanja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20161108/c5f6b620/attachment-0002.html>


More information about the P4-dev mailing list