qemu-irix/hw/usb
Stefan Hajnoczi d8f4811880 net: fix usbnet_receive() packet drops
The USB network interface has a single buffer which the guest reads
from.  This patch prevents multiple calls to usbnet_receive() from
clobbering the input buffer.  Instead we queue packets until buffer
space becomes available again.

This is inspired by virtio-net and e1000 rxbuf handling.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
(cherry picked from commit 190563f9a9)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2012-10-11 21:44:18 -05:00
..
Makefile.objs usb: add usb attached scsi emulation 2012-07-12 15:00:39 +02:00
bus.c
core.c usb-core: Allow the first packet of a pipelined ep to complete immediately 2012-10-11 21:44:13 -05:00
desc.c
desc.h
dev-audio.c usb-audio: fix usb version 2012-10-11 21:44:15 -05:00
dev-bluetooth.c
dev-hid.c
dev-hub.c
dev-network.c net: fix usbnet_receive() packet drops 2012-10-11 21:44:18 -05:00
dev-serial.c Better name usb braille device 2012-10-11 21:44:15 -05:00
dev-smartcard-reader.c
dev-storage.c usb-storage: fix SYNCHRONIZE_CACHE 2012-08-07 10:49:06 +02:00
dev-uas.c uas: move transfer kickoff 2012-08-31 15:47:57 +02:00
dev-wacom.c
hcd-ehci.c ehci: Walk async schedule before and after migration 2012-10-11 21:44:17 -05:00
hcd-musb.c usb: unique packet ids 2012-08-31 11:57:23 +02:00
hcd-ohci.c usb: unique packet ids 2012-08-31 11:57:23 +02:00
hcd-uhci.c uhci: Don't queue up packets after one with the SPD flag set 2012-10-11 21:44:17 -05:00
hcd-xhci.c xhci: allow bytewise capability register reads 2012-10-11 21:44:15 -05:00
host-bsd.c
host-linux.c usb-host: allow emulated (non-async) control requests without USBPacket 2012-10-11 21:44:15 -05:00
host-stub.c
libhw.c
redirect.c usb-redir: Revert usb-redir part of commit 93bfef4c 2012-10-11 21:44:17 -05:00