From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JD6a0-0004RU-7G for qemu-devel@nongnu.org; Thu, 10 Jan 2008 18:12:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JD6Zy-0004Ob-Uk for qemu-devel@nongnu.org; Thu, 10 Jan 2008 18:12:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JD6Zy-0004O6-O3 for qemu-devel@nongnu.org; Thu, 10 Jan 2008 18:12:54 -0500 Received: from fg-out-1718.google.com ([72.14.220.154]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JD6Zy-00013V-Cw for qemu-devel@nongnu.org; Thu, 10 Jan 2008 18:12:54 -0500 Received: by fg-out-1718.google.com with SMTP id e12so925294fga.8 for ; Thu, 10 Jan 2008 15:12:52 -0800 (PST) Message-ID: <4786A66F.1010509@qumranet.com> Date: Fri, 11 Jan 2008 01:12:47 +0200 MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] e1000 emulation code References: <1199896975.4382.31.camel@localhost.localdomain> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: Dor Laor Reply-To: dor.laor@qumranet.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: andrzej zaborowski Cc: kvm-devel , ir Peleg , qemu-devel@nongnu.org andrzej zaborowski wrote: > Hi, > > On 09/01/2008, Dor Laor 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. >