From: Stefan Hajnoczi <stefanha@redhat.com>
To: Fam Zheng <famz@redhat.com>
Cc: jasowang@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] ne2000: Drop ne2000_can_receive
Date: Wed, 2 Sep 2015 14:51:32 +0100 [thread overview]
Message-ID: <20150902135132.GD1924@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1435728305-5064-1-git-send-email-famz@redhat.com>
On Wed, Jul 01, 2015 at 01:25:05PM +0800, Fam Zheng wrote:
> ne2000_receive already checks the same conditions and drops the packet
> if it's not ready, removing the .can_receive callback avoids the
> necessity to add explicit flushes when the conditions turn true (which
> is required by the new semantics of .can_receive since 6e99c63
> "net/socket: Drop net_socket_can_send").
>
> Plus the "return 1" if E8390_STOP is also suspicious.
>
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
> hw/net/ne2000-isa.c | 1 -
> hw/net/ne2000.c | 10 ----------
> hw/net/ne2000.h | 1 -
> 3 files changed, 12 deletions(-)
Sorry, this was dropped and waiting to see how .can_receive() would turn
out for QEMU 2.4.
Thanks, applied to my net tree:
https://github.com/stefanha/qemu/commits/net
Stefan
prev parent reply other threads:[~2015-09-02 13:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-01 5:25 [Qemu-devel] [PATCH] ne2000: Drop ne2000_can_receive Fam Zheng
2015-07-02 13:41 ` Stefan Hajnoczi
2015-09-02 13:51 ` Stefan Hajnoczi [this message]
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=20150902135132.GD1924@stefanha-thinkpad.redhat.com \
--to=stefanha@redhat.com \
--cc=famz@redhat.com \
--cc=jasowang@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).