On Tue, Jul 28, 2015 at 11:02:54AM +1000, Greg Ungerer wrote: > The network mcf_fec driver emulated receive side method is not dealing > with network queue flow control properly. > > Modify the receive side to check if we have enough space in the > descriptors to store the current packet. If not we process none of it > and return 0. When the guest frees up some buffers through its descriptors > we signal the qemu net layer to send more packets. > > Signed-off-by: Greg Ungerer <g...@uclinux.org> > --- > hw/net/mcf_fec.c | 45 ++++++++++++++++++++++++++++++++++----------- > 1 file changed, 34 insertions(+), 11 deletions(-)
Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan
pgpJfCkcJddet.pgp
Description: PGP signature