qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] net/vmxnet3: Flush packets when device gets act


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] net/vmxnet3: Flush packets when device gets activated
Date: Wed, 2 Sep 2015 14:48:57 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Aug 20, 2015 at 02:45:47AM +0800, Fam Zheng wrote:
> On Tue, 08/18 14:25, Shmulik Ladkani wrote:
> > As of a90a7425cf592a3afeff3eaf32f543b83050ee5c 'tap: Drop tap_can_send'
> > vmxnet3 (with tap networking) can no longer receive once device is
> > deactivated.
> > Alas, as the device is initially "inactive", this brakes vmxnet3
> > receive functionality.
> > 
> > vmxnet3_can_receive() checks its internal 'device_active' flag (among
> > other tests).
> > However, as of a90a7425cf, if 'device_active' is false, packets will be
> > queued by tap_send (at qemu_net_queue_send).
> > 
> > However, vmxnet3 never flushes the queue, even if the device is later
> > activated.
> > 
> > Fix by calling 'qemu_flush_queued_packets()' when vmxnet3 device gets
> > active.
> > 
> > Signed-off-by: Shmulik Ladkani <address@hidden>
> 
> Looks like the previous patch to fix this fell between the cracks and never
> made it to qemu.git?
> 
> http://patchwork.ozlabs.org/patch/489847/
> 
> Stefan, any idea?

Shmulik: Please test the patch that Fam linked



reply via email to

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