From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAGiU-0000Cy-E0 for qemu-devel@nongnu.org; Mon, 03 Feb 2014 05:25:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAGiP-00045b-LK for qemu-devel@nongnu.org; Mon, 03 Feb 2014 05:25:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:26728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAGiP-00045V-DK for qemu-devel@nongnu.org; Mon, 03 Feb 2014 05:25:21 -0500 Date: Mon, 3 Feb 2014 11:10:18 +0100 From: Stefan Hajnoczi Message-ID: <20140203101018.GA23032@stefanha-thinkpad.redhat.com> References: <1391401202-8554-1-git-send-email-jcmvbkbc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1391401202-8554-1-git-send-email-jcmvbkbc@gmail.com> Subject: Re: [Qemu-devel] [PATCH] opencores_eth: flush queue whenever can_receive can go from false to true List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: Paolo Bonzini , qemu-devel@nongnu.org, Anthony Liguori On Mon, Feb 03, 2014 at 08:20:02AM +0400, Max Filippov wrote: > The following registers control whether MAC can receive frames: > - MODER.RXEN bit that enables/disables receiver; > - TX_BD_NUM register that specifies number of RX descriptors. > Notify QEMU networking core when the MAC is ready to receive frames. > Discard frame and raise BUSY interrupt when the frame arrives but the > current RX descriptor is not empty. > > Signed-off-by: Max Filippov > --- > hw/net/opencores_eth.c | 33 +++++++++++++++++++++++++++++++-- > 1 file changed, 31 insertions(+), 2 deletions(-) Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan