From: Jiang Wang <jwangzju@gmail.com>
To: Igor Kovalenko <igor.v.kovalenko@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Questions about rtl8139 receive mode and debugging
Date: Tue, 12 May 2009 22:22:40 -0400 [thread overview]
Message-ID: <77e29ea90905121922x336fc00dj314853b145c0d8dd@mail.gmail.com> (raw)
In-Reply-To: <b2fa41d60905121810v3403dae5r77d469cc09b02e66@mail.gmail.com>
I see. I think I will just comment out "#define
RTL8139_CALCULATE_RXCRC 1" and then use promiscuous mode. Then I
should get all the packet including the error ones. Right? Thanks.
Regards,
Jiang
On Tue, May 12, 2009 at 9:10 PM, Igor Kovalenko
<igor.v.kovalenko@gmail.com> wrote:
> On Tue, May 12, 2009 at 2:23 AM, Jiang Wang <jwangzju@gmail.com> wrote:
>> Hi:
>>
>> I am using rtl8139 nic emulation on x86 linux (CentOS 5.3). QEMU is
>> 0.10.2 I want to set the NIC to receive the packet even if the check
>> sum is wrong. Is this function implemented? I searched in hw/rtl8139.c
>> and find a definition of " AcceptErr = 0x20,". But it is not used
>> anywhere.
>
> This mode is not implemented. Since the code overrides checksum value
> for each received packet you cannot really provide it with checksum error.
> Look for RTL8139_CALCULATE_RXCRC in code.
>
> --
> Kind regards,
> Igor V. Kovalenko
>
prev parent reply other threads:[~2009-05-13 2:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 22:23 [Qemu-devel] Questions about rtl8139 receive mode and debugging Jiang Wang
2009-05-13 1:10 ` Igor Kovalenko
2009-05-13 2:22 ` Jiang 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=77e29ea90905121922x336fc00dj314853b145c0d8dd@mail.gmail.com \
--to=jwangzju@gmail.com \
--cc=igor.v.kovalenko@gmail.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).