From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19590 invoked by alias); 20 Jul 2007 19:22:07 -0000 Received: (qmail 19581 invoked by uid 22791); 20 Jul 2007 19:22:07 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 20 Jul 2007 19:22:05 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1IBy36-0007R3-00; Fri, 20 Jul 2007 21:22:00 +0200 Date: Fri, 20 Jul 2007 19:22:00 -0000 From: Andrew Lunn To: Alexander Aganichev Cc: eCos Discussion Message-ID: <20070720192200.GA28161@lunn.ch> Mail-Followup-To: Alexander Aganichev , eCos Discussion References: <20070708185139.GE24630@lunn.ch> <20070709083403.GL24630@lunn.ch> <20070717160027.GA6777@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-11) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Multi-cast support in Ethernet drivers X-SW-Source: 2007-07/txt/msg00158.txt.bz2 On Thu, Jul 19, 2007 at 02:42:45PM +0400, Alexander Aganichev wrote: > On 7/17/07, Andrew Lunn 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. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss