From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] multicast and the eepro100 driver
Date: Wed, 11 Jul 2007 19:11:44 +0200 [thread overview]
Message-ID: <46950F50.5050502@mail.berlios.de> (raw)
In-Reply-To: <46949A59.8070104@xtra.co.nz>
Hi Jeff,
eepro100.c is my work, so maybe I can help you.
First of all: there exists a newer version of eepro100.c which
fixes some bugs of the CVS version and largely improves
support for big endian hosts and targets. Get it from
http://svn.berlios.de/wsvn/ar7-firmware/qemu/trunk/hw/eepro100.c?op=file&rev=0&sc=0
I am still working on this new version, because support for big endian
hosts is still untested.
If you define macro DEBUG_EEPRO100 in eepro100.c, you will get
debugging messages which show the frames sent and received.
Multicast frames should be received, but I never tested this,
so maybe there is a bug, and I know that I did not implement
all functions needed for multicast.
Look in the code for function nic_receive and try to remove the
return statement which aborts the reception of unwanted multicast
frames. You will get too many multicast frames - but perhaps
that is better than getting none at all :-)
Regards
Stefan
Jeff Hoare schrieb:
> Hi,
>
> I have been using a recent snapshot version of QEMU (5th July, 2007)
> which has the eepro100 Ethernet driver, in order to set up a couple of
> routing engines (one each in a separate QEMU VM). While I have basic
> connectivity between each engine (including telnet between each) it
> seems that the RIP/OSPF routing updates do not pass between them (I have
> let to try a TCP based one). These are multicast UDP packets, which seem
> to be output the FXP0 interface (see tcpdump below) and I can even see
> them on the TAP0 interface, but they don't appear to be received by the
> other VM. The two VM are connected using VDE (with different values for
> HDA & macaddresses). Does the emulated Ethernet driver receive multicast
> udp packets? I assumed that the virtual switch is forwarding the packets
> since they are received by the TAP0 interface.
>
> Anyway any information or light that could be shed would be appreciated.
>
> Regards jeff
next prev parent reply other threads:[~2007-07-11 17:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-11 8:52 [Qemu-devel] multicast and the eepro100 driver Jeff Hoare
2007-07-11 17:11 ` Stefan Weil [this message]
2007-12-18 14:44 ` [Qemu-devel] " Bjørn Mork
-- strict thread matches above, loose matches on Subject: below --
2007-07-12 3:26 [Qemu-devel] " Nicolas Guilbaud
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=46950F50.5050502@mail.berlios.de \
--to=weil@mail.berlios.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).