Return-Path: Received: from mailgate2.signaal.nl (mailgate2.nl.thalesgroup.com [193.67.31.101]) by ozlabs.org (Postfix) with ESMTP id 96277679E7 for ; Sat, 18 Jun 2005 01:31:49 +1000 (EST) Received: from mta1.nl.thales (mta1.signaal.local [193.67.31.130]) by mailgate2.signaal.nl (4.8.1.149) with ESMTP id for ; Fri, 17 Jun 2005 17:31:16 +0200 (MEST) Received: from suna900.sc.signaal.nl (suna900.sc.signaal.nl [192.7.99.164]) by mta1.nl.thales (4.9.7.3) with ESMTP id AYab6AA6 for ; Fri, 17 Jun 2005 17:31:10 +0200 (MEST) Received: from scms1.sc.signaal.nl ([192.7.99.212]) by suna900.sc.signaal.nl (Netscape Messaging Server 3.6) with ESMTP id AAA6C35 for ; Fri, 17 Jun 2005 17:31:07 +0200 Message-Id: Date: Fri, 17 Jun 2005 17:29:49 +0200 From: "Samuel Osorio Calvo" To: MIME-Version: 1.0 (Generated by Clearswift ES version 4.8.1.149) Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-embedded@ozlabs.org Subject: Re: multicast disabled on 8260_io/fcc_enet.c List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sorry for asking things that were solved, but I was not able to find = them, and I am a newbie in this world. Anyhow, just thank you for the comment on the CRC, it looks like it is = properly done in the new DENX release (3.1.1). Samuel. Unclassified. >>> Dan Malek 06/16/05 03:03AM >>> On Jun 15, 2005, at 9:14 AM, Samuel Osorio Calvo wrote: > Currently I have multicast working just be moving the return=20 > statement. It seems to work but I guess I did not face yet the=20 > problems that caused the code to be commented. > Let's say it works in an unreliable way.... When I wrote the original code I copied the old SCC driver and didn't=20 have a function for computing CRCs, so I just placed the return early in the=20 function. I believe there is a patch floating around that wrote a CRC function=20 (or used some existing one), to compute the filter mask. If the code has a CRC=20 function call, then it will likely work. If it doesn't have one, then you are running=20 on luck. Either the proper filter bit is set by some random reset bits, or you somehow=20 get the right one set. By default, the multicast filter may just catch=20 everything, forcing the Linux IP stack to do the filtering at a higher level, not exactly=20 what you want. :-) This has been discussed many times in the past. Thanks. -- Dan