multicast and the eepro100 driver
Hi Stefan,
I experienced the same issue as Jeff, so removing the 'return' statement in nic_receive works for multicast (at least 224.0.0.5) with your latest code.
Thanks !
Nicolas.
Quoted 56 lines
Hi Jeff,
eepro100.cis my work, so maybe I can help you.First of all: there exists a newer version of
eepro100.cwhich 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=0I am still working on this new version, because support for big endian hosts is still untested.
If you define macro
DEBUG_EEPRO100ineepro100.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_receiveand 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
StefanQuoted 4 lines · Jeff Hoare
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
Quoted 3 lines
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
Quoted 1 line
let to try a TCP based one). These are multicast UDP packets,
which seem
Quoted 1 line
to be output the FXP0 interface (see tcpdump below) and I can
even see
Quoted 1 line
them on the TAP0 interface, but they don't appear to be received
by the
Quoted 1 line
other VM. The two VM are connected using VDE (with different
values for
Quoted 1 line
HDA & macaddresses). Does the emulated Ethernet driver receive
multicast
Quoted 1 line
udp packets? I assumed that the virtual switch is forwarding the
packets
Quoted 3 lines
since they are received by the TAP0 interface.
Anyway any information or light that could be shed would be
appreciated.
Quoted 2 lines
Regards jeff