qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] e1000 emulation code


From: Dor Laor
Subject: Re: [Qemu-devel] [PATCH] e1000 emulation code
Date: Fri, 11 Jan 2008 01:12:47 +0200
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

andrzej zaborowski wrote:
Hi,

On 09/01/2008, Dor Laor <address@hidden> wrote:
It which supports TCP/UDP and IP transmit checksum, as well as TSO.
It has been tested with Linux (2.6.18|22|23|24)++ and Windows XP (using
the driver supplied at the intel download site).
Windows Vista recognizes it but there is no traffic.

Checksum calculation is currently naïve and unoptimized (the host
kernel does it better). But when working in conjuction to tso
the performance is drastically better.

Some figures: Linux rx 350Mbps, tx 150bps, Windows rx 700mbps, tx 100 mbps.

That will be great to have in qemu.

The e1000_hw.h is copied from Linux kernel.

Would it be possible to pick only the useful stuff from the header and
put it into the same file, rather than maintaining a copy of a linux
header (which is 3.5 bigger than the actual emulation in kLoC)? Qemu
has avoided that until now.

I can but then how can you compile qemu for OS's which do not have Linux/ or linux headers?
qemu/hw/e1000.c      | 1000 +++++++++++++++
qemu/hw/e1000_hw.h   | 3411 ++++++++++++++++++++++++++++++++++++++++++++++++++

Regards.





reply via email to

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