qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 15/15] net: invoke qemu_can_send_packet only


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 15/15] net: invoke qemu_can_send_packet only before net queue sending function
Date: Thu, 24 May 2012 14:02:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Il 24/05/2012 13:58, Zhi Yong Wu ha scritto:
>> > But you will copy packets uselessly.  The code before the patch simply
>> > left them on the tap file descriptor.  This is better because it
>> > involves the kernel in flow control.  You are introducing "bufferbloat".
> You are correct, but can_send_packet will be invoked twice for one
> packet delivery.

Doesn't matter, it's cheap.

Paolo



reply via email to

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