Re: [Qemu-devel] [PATCH for-2.4 00/12] hw/net: Fix .can_receive() for NICs

2015-07-15 Thread Stefan Hajnoczi
On Tue, Jul 14, 2015 at 04:34:19PM +0800, Wen Congyang wrote: > On 07/14/2015 03:53 PM, Fam Zheng wrote: > > Since a90a742 "tap: Drop tap_can_send", all nics that returns false from > > .can_receive() are required to explicitly flush the incoming queue when the > > status of it is changing back to

Re: [Qemu-devel] [PATCH for-2.4 00/12] hw/net: Fix .can_receive() for NICs

2015-07-14 Thread Stefan Hajnoczi
On Tue, Jul 14, 2015 at 03:53:29PM +0800, Fam Zheng wrote: > Since a90a742 "tap: Drop tap_can_send", all nics that returns false from > .can_receive() are required to explicitly flush the incoming queue when the > status of it is changing back to true, otherwise the backend will sop > processing mo

Re: [Qemu-devel] [PATCH for-2.4 00/12] hw/net: Fix .can_receive() for NICs

2015-07-14 Thread Wen Congyang
On 07/14/2015 03:53 PM, Fam Zheng wrote: > Since a90a742 "tap: Drop tap_can_send", all nics that returns false from > .can_receive() are required to explicitly flush the incoming queue when the > status of it is changing back to true, otherwise the backend will sop > processing more rx packets. >

[Qemu-devel] [PATCH for-2.4 00/12] hw/net: Fix .can_receive() for NICs

2015-07-14 Thread Fam Zheng
Since a90a742 "tap: Drop tap_can_send", all nics that returns false from .can_receive() are required to explicitly flush the incoming queue when the status of it is changing back to true, otherwise the backend will sop processing more rx packets. The purpose of this callback is to tell the peer ba