[ECOS] Multi-cast support in Ethernet drivers
Fri Jul 20 19:22:00 GMT 2007
On Thu, Jul 19, 2007 at 02:42:45PM +0400, Alexander Aganichev wrote:
> On 7/17/07, Andrew Lunn <email@example.com> wrote:
>> > The stack sets up multi-cast MAC to 01:00:5e:00:00:01 and cannot talk
>> > to my DHCP anymore.
>> My first guess is that you are programming the filter incorrectly in
>> your MAC chip. It could be you are blocking the broadcast address, or
>> the unicast address for your device. Is the DHCP server broadcasting
>> is response, or unicasting it?
> Shouldn't the upper layer provide broadcast address in the list to
> ETH_DRV_SET_MC_LIST if it wants to receive broadcast packets? My guess
> it is upper layer responsibility to do so, because of otherwise I do
> not see any sense for that call...
No, i would expect the default is that the upper layer expects the
device to always receive broadcast. However maybe your device does
not? It is at least something to test. Maybe take a look at the Linux
driver and see what it does for its multicast call. You cannot
directly use the code, since it is GPL, but you can look and see if it
does anything interesting.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss