nvme_drv: only wait for first admin cmd

Leave the loop if we processed the cmd we were looking for. That
should fix the delay users notice in Sculpt when NVMe is used.

Issue #3369.
This commit is contained in:
Josef Söntgen 2019-05-31 17:16:51 +02:00 committed by Christian Helmuth
parent 1daf179db9
commit a2abc13425
1 changed files with 1 additions and 0 deletions

View File

@ -817,6 +817,7 @@ struct Nvme::Controller : public Genode::Attached_mmio
success = true;
write<Admin_cdb::Cqh>(_admin_cq.head);
break;
}
return success;