p4lang / tdi

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

Fix for getValue for string keyfield #102

Closed satish153 closed 1 year ago

satish153 commented 1 year ago

Fix for a couple of minor issues:

  1. Bug in tdi_key_field_get_value_string_size and tdi_key_field_get_value_string
  2. Moving tdi_key_field_num_allowed_choices_get/tdi_key_field_allowed_choices_get to from tdi_table.h to tdi_table_info.h This is to be consistent with other similar APIs