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: Jiang Wang
Subject: Re: [Qemu-devel] Questions about rtl8139 receive mode and debugging
Date: Tue, 12 May 2009 22:22:40 -0400

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
<address@hidden> wrote:
> 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]