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
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
dev-uas.c
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
hcd-ohci.c
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