From: Stefan Hajnoczi <stefanha@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/2] rtl8139: flush queued packets when RxBufPtr is written
Date: Mon, 27 May 2013 11:00:22 +0200 [thread overview]
Message-ID: <20130527090022.GF21969@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <519F84B1.4080705@redhat.com>
On Fri, May 24, 2013 at 05:18:09PM +0200, Paolo Bonzini wrote:
> Il 24/05/2013 16:38, Stefan Hajnoczi ha scritto:
> > diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c
> > index 9369507..7993f9f 100644
> > --- a/hw/net/rtl8139.c
> > +++ b/hw/net/rtl8139.c
> > @@ -2575,6 +2575,9 @@ static void rtl8139_RxBufPtr_write(RTL8139State *s, uint32_t val)
> > /* this value is off by 16 */
> > s->RxBufPtr = MOD2(val + 0x10, s->RxBufferSize);
> >
> > + /* more buffer space may be available so try to receive */
> > + qemu_flush_queued_packets(qemu_get_queue(s->nic));
> > +
> > DPRINTF(" CAPR write: rx buffer length %d head 0x%04x read 0x%04x\n",
> > s->RxBufferSize, s->RxBufAddr, s->RxBufPtr);
> > }
> >
>
> Do you have time to update the branch with a "Cc: qemu-stable@nongnu.org"?
It has been merged. Will try to CC qemu-stable in the future.
Stefan
next prev parent reply other threads:[~2013-05-27 9:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-24 14:38 [Qemu-devel] [PULL 0/2] Net patches Stefan Hajnoczi
2013-05-24 14:38 ` [Qemu-devel] [PATCH 1/2] net: support for bridged networking on Mac OS X Stefan Hajnoczi
2013-05-24 14:38 ` [Qemu-devel] [PATCH 2/2] rtl8139: flush queued packets when RxBufPtr is written Stefan Hajnoczi
2013-05-24 15:18 ` Paolo Bonzini
2013-05-27 9:00 ` Stefan Hajnoczi [this message]
2013-06-17 21:18 ` [Qemu-devel] [PULL 0/2] Net patches Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130527090022.GF21969@stefanha-thinkpad.redhat.com \
--to=stefanha@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).