HFI_FLUSH_ALL
flush_type = HFI_FLUSH_ALL;
case HFI_FLUSH_ALL:
ret = hfi_session_flush(inst, HFI_FLUSH_ALL, true);
ret = hfi_session_flush(inst, HFI_FLUSH_ALL, true);
ret = hfi_session_flush(inst, HFI_FLUSH_ALL, true);