qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic


From: Nguyen Thai Ngoc Duy
Subject: Re: [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic
Date: Tue, 26 Apr 2011 17:07:40 +0700

On Tue, Apr 26, 2011 at 4:14 PM, Stefan Hajnoczi <address@hidden> wrote:
> The behavior you are describing sounds like a bug in QEMU's network
> layer.  If RX is disabled we should not queue incoming packets.
>
> Have you looked into fixing QEMU so that the queue is disabled when RX
> is disabled?

it's in e1000_can_receive(): it can receive if rx is enabled
(E1000_RCTL_EN) and has enough buffer, which means if the driver
disables rx, packets queue up. Isn't that correct behavior? Sorry I'm
new in this area.
-- 
Duy



reply via email to

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