qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] hw/net: handle flow control in mcf_fec driver r


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] hw/net: handle flow control in mcf_fec driver receiver
Date: Tue, 28 Jul 2015 11:29:08 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

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 <address@hidden>
> ---
>  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

Attachment: pgpkKeixJTADR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]