All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Kovalenko <igor.v.kovalenko@gmail.com>
To: Jiang Wang <jwangzju@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Questions about rtl8139 receive mode and debugging
Date: Wed, 13 May 2009 05:10:00 +0400	[thread overview]
Message-ID: <b2fa41d60905121810v3403dae5r77d469cc09b02e66@mail.gmail.com> (raw)
In-Reply-To: <77e29ea90905111523m3c9e0822h5ea25a3116f655fa@mail.gmail.com>

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

  reply	other threads:[~2009-05-13  1:10 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 [this message]
2009-05-13  2:22   ` Jiang Wang

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=b2fa41d60905121810v3403dae5r77d469cc09b02e66@mail.gmail.com \
    --to=igor.v.kovalenko@gmail.com \
    --cc=jwangzju@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.