From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] xilinx_axienet: pump events as appropriate
Date: Wed, 3 Apr 2013 10:13:07 +0200 [thread overview]
Message-ID: <20130403081307.GF15741@smtp.vpn> (raw)
In-Reply-To: <1364961849-29407-1-git-send-email-peter.crosthwaite@xilinx.com>
On Wed, Apr 03, 2013 at 02:04:09PM +1000, Peter Crosthwaite wrote:
> When the conditions blocking receiving are cleared, check for buffered rx
> packets.
>
> Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
> ---
> hw/xilinx_axienet.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/hw/xilinx_axienet.c b/hw/xilinx_axienet.c
> index 5785290..07c4bad 100644
> --- a/hw/xilinx_axienet.c
> +++ b/hw/xilinx_axienet.c
> @@ -516,6 +516,8 @@ static void enet_write(void *opaque, hwaddr addr,
> s->rcw[addr & 1] = value;
> if ((addr & 1) && value & RCW1_RST) {
> axienet_rx_reset(s);
> + } else {
> + qemu_flush_queued_packets(qemu_get_queue(s->nic));
> }
> break;
>
> --
> 1.7.0.4
>
next prev parent reply other threads:[~2013-04-03 8:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 4:04 [Qemu-devel] [PATCH] xilinx_axienet: pump events as appropriate Peter Crosthwaite
2013-04-03 8:13 ` Edgar E. Iglesias [this message]
2013-04-03 23:02 ` Edgar E. Iglesias
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=20130403081307.GF15741@smtp.vpn \
--to=edgar.iglesias@gmail.com \
--cc=peter.crosthwaite@xilinx.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).