From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9th0-000101-5r for qemu-devel@nongnu.org; Sun, 02 Feb 2014 04:50:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9tgr-0003EN-GD for qemu-devel@nongnu.org; Sun, 02 Feb 2014 04:50:21 -0500 Received: from mail-qc0-x229.google.com ([2607:f8b0:400d:c01::229]:63355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9tgr-0003Dg-C2 for qemu-devel@nongnu.org; Sun, 02 Feb 2014 04:50:13 -0500 Received: by mail-qc0-f169.google.com with SMTP id w7so9599076qcr.28 for ; Sun, 02 Feb 2014 01:50:12 -0800 (PST) Sender: Paolo Bonzini Message-ID: <52EE14CE.4030707@redhat.com> Date: Sun, 02 Feb 2014 10:50:06 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] NetClientInfo::can_receive change notification and its purpose List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov , qemu-devel Cc: Anthony Liguori , Stefan Hajnoczi Il 02/02/2014 02:47, Max Filippov ha scritto: > Hello, > > is there any way to notify networking core that adapter's > NetClientInfo::can_receive return value is about to change from 0 to 1? Yes, qemu_flush_queued_packets. See commit e8b4c68 (e1000: flush queue whenever can_receive can go from false to true, 2012-08-09). Paolo