p4lang / tdi

Table-Driven Interface (TDI) for a P4-programmable backend device.
Apache License 2.0
40 stars 23 forks source link

fixed compilation issues for ovs: #74

Closed weiqiand closed 2 years ago

weiqiand commented 2 years ago
  1. changed c function for enum parameter passing: 1.1 from tdi_attributes_field_type_e to enum tdi_attributes_field_type_e. 1.2 from tdi_operations_field_type_e to enum tdi_operations_field_type_e.
  2. changed parameter const tdi_flags_hdl to tdi_flags_hdl for tdi_flags_create function. (make it is the same as tdi_flags_delete).