qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-2.4 v3] xen: Drop net_rx_ok


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH for-2.4 v3] xen: Drop net_rx_ok
Date: Tue, 28 Jul 2015 13:27:43 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Jul 28, 2015 at 05:52:56PM +0800, Fam Zheng wrote:
> Let net_rx_packet() (which checks the same conditions) drops the packet
> if the device is not ready. Drop net_xen_info.can_receive and update the
> return value for the buffer full case.
> 
> We rely on the qemu_flush_queued_packets() in net_event() to wake up
> the peer when the buffer becomes available again.
> 
> Signed-off-by: Fam Zheng <address@hidden>
> 
> ---
> 
> v3: Drop log. [Wen]
> 
> v2:
>     Fix return value of net_rx_packet to keep the semantics when ring
>     buffer is full. [Stefan]
>     Update commit message accordingly.
> ---
>  hw/net/xen_nic.c | 25 +------------------------
>  1 file changed, 1 insertion(+), 24 deletions(-)

Thanks, applied to my net tree:
https://github.com/stefanha/qemu/commits/net

Stefan

Attachment: pgpxHbeIkVO2U.pgp
Description: PGP signature


reply via email to

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