+ /* Flush status write and wait device ready max 3 seconds. */
+ while (VIRTIO_OPS(hw)->get_status(hw) != VIRTIO_CONFIG_STATUS_RESET) {
+ if (retry++ > 3000) {
+ PMD_INIT_LOG(WARNING, "port %u device reset timeout", hw->port_id);
+ break;
+ }
+ usleep(1000L);
+ }