uhci: Fix 1 ms delay in interrupt reporting to the guest
commit719c130dcaa3b1269beed71ca9cf6c43a0219b30
authorHans de Goede <hdegoede@redhat.com>
Fri, 14 Dec 2012 13:35:33 +0000 (14 14:35 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 7 Jan 2013 11:57:24 +0000 (7 12:57 +0100)
treec6a59d31d6792547ea88f557b33263b4953b4bf8
parent4a9ef2c042207e4eddbd010ccf2e1c8264d8f0d6
uhci: Fix 1 ms delay in interrupt reporting to the guest

Re-arrange how we process frames / increase frnum / report pending interrupts,
to avoid a 1 ms delay in interrupt reporting to the guest. This increases
the packet throughput for cases where the guest submits a single packet,
then waits for its completion then re-submits from 500 pkts / sec to
1000 pkts / sec. This impacts for example the use of redirected / virtual
usb to serial convertors.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-uhci.c