From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] jumbo frames: needing some help
Date: Mon, 22 Sep 2008 14:42:17 -0500 [thread overview]
Message-ID: <48D7F519.1020808@codemonkey.ws> (raw)
In-Reply-To: <48D55D13.2050006@uni-ulm.de>
Martin Rauh wrote:
> 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?
Well if you don't have a patch to vl.c, that's probably your problem.
There are a number of spots in the VLAN send functions that use buffers
of 4096. You won't be able to receive a packet larger than that.
Regards,
Anthony Liguori
> Thanks!
>
> Martin Rauh.
>
>
next prev parent reply other threads:[~2008-09-22 19:43 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
2008-09-22 19:42 ` Anthony Liguori [this message]
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=48D7F519.1020808@codemonkey.ws \
--to=anthony@codemonkey.ws \
--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).