qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Questions about rtl8139 receive mode and debugging


From: Igor Kovalenko
Subject: Re: [Qemu-devel] Questions about rtl8139 receive mode and debugging
Date: Wed, 13 May 2009 05:10:00 +0400

On Tue, May 12, 2009 at 2:23 AM, Jiang Wang <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]