p4lang / tdi

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

Enable port_status_notif_cb on python CLI: #89

Closed weiqiand closed 2 years ago

weiqiand commented 2 years ago
  1. Fixed python callback function based on TDI Target(change target from structure to target_handle).
  2. Fixed callback_wrapper to handle Target handle (based on target_hdl to get dev_id).