Skip to contentSkip to conversation

multicast disabled on 8260_io/fcc_enet.c

DISCUSSION Samuel Osorio Calvo 1 participant 1 message Jun 17, 2005

lore
Share & tools
lore
#0 lore raw

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.

Quoted 1 line
Quoted 1 line
Quoted 1 line

Dan Malek <[email protected]> 06/16/05 03:03AM >>>

Quoted 4 lines · Samuel Osorio Calvo

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