Skip to content

standardize status enum and handle device lost

Yiwei Zhang requested to merge zzyiwei/venus-protocol:handle_device_lost into master

ACTIVE and IDLE match the existing vn_ring_status_flag and vkr_ring_status_flag enum definitions to avoid breaking compat. This MR also adds the FATAL bit to better propagate unrecoverable ring status to the driver side.

In addition, now we map device lost error return to ring fatal status if a reply hasn't been requested by the driver.

related MRs:

Edited by Yiwei Zhang

Merge request reports