From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kh94u-0000MP-Ic for qemu-devel@nongnu.org; Sat, 20 Sep 2008 16:29:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kh94s-0000KL-9n for qemu-devel@nongnu.org; Sat, 20 Sep 2008 16:29:15 -0400 Received: from [199.232.76.173] (port=37761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kh94s-0000KI-57 for qemu-devel@nongnu.org; Sat, 20 Sep 2008 16:29:14 -0400 Received: from mail.uni-ulm.de ([134.60.1.11]:34659) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kh94r-0004gu-N9 for qemu-devel@nongnu.org; Sat, 20 Sep 2008 16:29:14 -0400 Received: from [192.168.2.112] (p549B3D38.dip.t-dialin.net [84.155.61.56]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m8KKTAHb022359 for ; Sat, 20 Sep 2008 22:29:10 +0200 (MEST) Message-ID: <48D55D13.2050006@uni-ulm.de> Date: Sat, 20 Sep 2008 22:29:07 +0200 From: Martin Rauh MIME-Version: 1.0 Subject: Re: [Qemu-devel] jumbo frames: needing some help References: <20080919193742.vp0rkod868o0g84o@imap.uni-ulm.de> <48D3F66D.2080507@codemonkey.ws> In-Reply-To: <48D3F66D.2080507@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Anthony Liguori wrote: > martin.rauh@uni-ulm.de wrote: >> Hello, everyone! >> >> Sorry for the inconvenience, but as a part of my diploma thesis, I am >> creating a virtual NIC for QEMU, in order to support a new cluster OS >> of the university. (Saving the overhead caused by emulating real >> hardware, it is not emulating an existing NIC.) Anyway, now it seems >> to be working correctly, except for handling jumbo frames, which I >> have to make available. > > You would have to post your patch. We seem to be able to handle jumbo > frames nicely with virtio-net. > > BTW, are you aware of virtio-net? It has all of the properties that you > are describing and it already exists for Linux and Windows. > No, I didn't know about virtio-net. Presumably it would be better to support this virtio-net in our OS, but I think there's not enough time left to develop a new driver now. I will recommend this for further proceeding, thank you for this hint! http://home.vrweb.de/mrauh/testnic.c Here is the source file of my virtual NIC, which I modelled on then NE2000.c, but it is probably not very nice to read. I used qemu_send_packet for sending and registered my testnic_receive function via qemu_new_vlan_client. Do you agree in principle to this approach, in terms of proceeding jumbo frames? Thanks! Martin Rauh.