From: Jason Wang <jasowang@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] rtl8139: using CP_TX_OWN for ownership transferring during tx
Date: Tue, 5 Apr 2016 08:54:30 +0800 [thread overview]
Message-ID: <57030CC6.10106@redhat.com> (raw)
In-Reply-To: <1459479208-10452-1-git-send-email-jasowang@redhat.com>
On 04/01/2016 10:53 AM, Jason Wang wrote:
> Through CP_TX_OWN and CP_RX_OWN points to the same bit, we'd better use
> CP_TX_OWN for tx descriptor handling.
>
> Signed-off-by: Jason Wang <jasowang@redhat.com>
> ---
> hw/net/rtl8139.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c
> index fee97bf..1e5ec14 100644
> --- a/hw/net/rtl8139.c
> +++ b/hw/net/rtl8139.c
> @@ -2046,7 +2046,7 @@ static int rtl8139_cplus_transmit_one(RTL8139State *s)
> }
>
> /* transfer ownership to target */
> - txdw0 &= ~CP_RX_OWN;
> + txdw0 &= ~CP_TX_OWN;
>
> /* reset error indicator bits */
> txdw0 &= ~CP_TX_STATUS_UNF;
Applied to -net.
Thanks
prev parent reply other threads:[~2016-04-05 0:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-01 2:53 [Qemu-devel] [PATCH] rtl8139: using CP_TX_OWN for ownership transferring during tx Jason Wang
2016-04-05 0:54 ` Jason Wang [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=57030CC6.10106@redhat.com \
--to=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).