qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Martin Rauh <martin.rauh@uni-ulm.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] jumbo frames: needing some help
Date: Sat, 20 Sep 2008 22:29:07 +0200	[thread overview]
Message-ID: <48D55D13.2050006@uni-ulm.de> (raw)
In-Reply-To: <48D3F66D.2080507@codemonkey.ws>

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.

  reply	other threads:[~2008-09-20 20:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19 17:37 [Qemu-devel] jumbo frames: needing some help martin.rauh
2008-09-19 18:58 ` Anthony Liguori
2008-09-20 20:29   ` Martin Rauh [this message]
2008-09-22 19:42     ` Anthony Liguori
2008-09-23 16:57       ` Martin Rauh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48D55D13.2050006@uni-ulm.de \
    --to=martin.rauh@uni-ulm.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).