qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3] fix qemu_flush_queued_packets() in presence


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v3] fix qemu_flush_queued_packets() in presence of a hub
Date: Fri, 8 Feb 2013 10:46:57 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Feb 05, 2013 at 05:53:31PM +0100, Luigi Rizzo wrote:
> DESCRIPTION:
> 
> When frontend and backend are connected through a hub as below
> (showing only one direction), and the frontend (or in general, all
> output ports of the hub) cannot accept more traffic, the backend
> queues packets in queue-A.
> 
> When the frontend (or in general, one output port) becomes ready again,
> quemu tries to flush packets from queue-B, which is unfortunately empty.
> 
>   e1000.0 <--[queue B]-- hub0port0(hub)hub0port1 <--[queue A]-- tap.0
> 
> To fix this i propose to introduce a new function net_hub_flush()
> which is called when trying to flush a queue connected to a hub.
> 
> cheers
> luigi
> 
> Signed-off-by: Luigi Rizzo <address@hidden>

Thanks, applied to the net-next tree:
https://github.com/stefanha/qemu/commits/net-next

This patch will be part of the first net pull request for QEMU 1.5.

Stefan



reply via email to

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